Re: Tk disabling menu entries, etc.

2008-02-19 Thread MK
-> Well, I tested your script. It gains appreciable memory at each menu -> invocation. My deep cascading example, stays steady in memory use. sigh. yes, i just observed this myself w/ "top". -> ( And as a side note, this is where using -> strict comes into play. it can force closures of l

Re: Tk disabling menu entries, etc.

2008-02-17 Thread MK
On 02/17/2008 12:08:40 PM, zentara wrote: -> Yeah, dynamically generated menus would be the way to go, -> but I would watch out for memory gains everytime you invoke the menu. -> Tk isn't very good about object cleanup. i will remember and look into this. -> Another problem with dynamic menus,

Re: Tk disabling menu entries, etc.

2008-02-17 Thread MK
from zentara: -> Now you may not see the usefulness of the entryconfigure or the cget, -> but what if you had a more complex menu, and needed to dynamically -> grey out items? That is exactly what i did (the cascading menus are a recursive tree, with several hundred+ total entries dynamically