Problems with Tkinter and menus

Fredrik Juhlin laz at strakt.com
Thu Dec 13 11:50:57 EST 2001


On Thu, Dec 13, 2001 at 04:13:11PM +0000, Bill Melcher wrote:
[snipped beginning of code]
What if you try:
menu0 = Tkinter.Menu(root, tearoff=0)
menu1 = Tkinter.Menu(menu0, tearoff=0)
rather than:
menu0 = Tkinter.Menu(root, tearoff=0)
menu1 = Tkinter.Menu(root, tearoff=0)
[snipped remaining code]

> No hello, no menus and no errors reported.  The origional version posted by
> Fredrik Juhlin showed the same behavior.
Of course, if absolutely nothing happened and you didn't even get a menu
when you right-clicked on the window, then something seems even more broken
for you.

//FJ




More information about the Python-list mailing list