[Tkinter-discuss] Another Pmw Question: Cascading OptionMenu
clnethery at juno.com
clnethery at juno.com
Fri Mar 19 03:45:28 EST 2004
I have another question--this time regarding the OptionMenu widget. Is anyone aware of an existing cascading OptionMenu widget?
I attempted to re-write the OptionMenu widget by renaming it something else and incorporating what seemed like all of the cascading-related code from menubar (seemed like a good idea at the time). I added the widget to the Pmw definition file, added '('hotkeys', 1, INITOPT) to "optiondefs" in the new widget's '__init__' function(really OptionMenu's __init__ function)...
Everything worked splendidly until the program failed to run, with an error that still keeps me up nights. I don't recall the specific error, but I'm guessing that I might be trying to reinvent the wheel, so I thought I'd ask before I cause myself any more trouble.
Note to self: YOU DON'T KNOW WHAT YOU'RE DOING.
More information about the Tkinter-discuss
mailing list