I'm working on a Tcl/Tk app, and i'm having problems wraping my head
around the concept of deleting menu items.  My understanding is that the
top most item is index=0 and then it counts downward.  So, that leads me
to the  following:
* If .buttons.get.mnu is the path name
* I want to keep the first item from the top, index=0
* I want to delete all the other items (which are dynmaically generated,
and are never the same number of items)
* The following command should work:
.buttons.get.mnu delete 1 end

However, it doesn't work right.  It deletes all the menu items,
including the first.  I'm stumped. 

=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J. Friedman                          [EMAIL PROTECTED]

Linux Step-by-step help:           http://netllama.ipfox.com

                                                 .

__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to