Guilherme Polo <[email protected]> added the comment:
I get the same behavior while using ttk in wish8.5, so this is not
related to the ttk.py module.
But, after looking this sample you posted, it looks like you want
something like this instead:
from tkinter import Tk, Menu
root = Tk()
menu = Menu()
root['menu'] = menu
filemenu = Menu(menu)
menu.add_cascade(label="File", menu=filemenu, underline=0)
filemenu.add_command(label="New", accelerator="Ctrl+N")
root.geometry("300x300")
root.mainloop()
----------
nosy: +gpolo
resolution: -> rejected
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue7526>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com