Tkinter Meta Keys

T Zimmerman tzman at bhmi.com
Wed Apr 5 09:52:13 EDT 2000


Can anyone get the following script to work on MS NT. I have been unable to
get the use of "alt-*" keys on this platform. Any suggestions would be
greatly appreciated.

Thanks,
tzman at bhmi.com

*************************************************************
import Tkinter

root = Tkinter.Tk()

button = Tkinter.Menubutton(text = 'File', underline = 0)
button.pack()
menu = Tkinter.Menu(button)
button.configure(menu = menu)
menu.add_command(label = 'Hello World', underline = 0)

root.mainloop()
**********************************************************************





More information about the Python-list mailing list