Message96864
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() |
|
Date |
User |
Action |
Args |
2009-12-24 16:55:29 | gpolo | set | recipients:
+ gpolo, kurtforrester |
2009-12-24 16:55:28 | gpolo | set | messageid: <1261673728.99.0.777621735398.issue7526@psf.upfronthosting.co.za> |
2009-12-24 16:55:27 | gpolo | link | issue7526 messages |
2009-12-24 16:55:27 | gpolo | create | |
|