On December 25, Net Llama enlightened our ignorance thusly: % 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.
What happens if you do "delete 2 end"? Kurt -- Lewis's Law of Travel: The first piece of luggage out of the chute doesn't belong to anyone, ever. _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users