Problems with Tkinter and menus

Greg Krohn infinitystwin.SPAM at IS.BAD.yahoo.com
Wed Dec 12 05:41:33 EST 2001


"Fredrik Juhlin" <laz at strakt.com> wrote in message
news:mailman.1008148516.7839.python-list at python.org...
> Hello,
>
> I'm trying to make cascading popup menus work in Tkinter. Unfortunately,
I'm
> having little success.
> The problem is that the commands under the second-level menus won't run
when
> clicked on. Actually, it seems like they are not responding to the mouse
at
> all, since hovering on a menu-item doesn't "mark" it.
>
> I've submitted test code to show the problem.
>
> Any help on this would be greatly appreciated!
>
> /FJ
>
[code sniped]

Works fine for me: Win2K/Python 2.1.1/Tcl 8.3.
It prints 'hello!' for 'Command1', 'Foo', and
'Bar'. Have you tried restarting Python? Maybe
something got reassigned somehow.


greg





More information about the Python-list mailing list