Tkinter menus from keyboard

2008-03-26 Thread MartinRinehart
Tkinter defaults to, for example, Alt+f = File (if File is your first menu name starting with f). I'd like to assign my own letters and have them underscored, per the universal standard. Can this be done? -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter menus from keyboard

2008-03-26 Thread Guilherme Polo
2008/3/26, [EMAIL PROTECTED] [EMAIL PROTECTED]: Tkinter defaults to, for example, Alt+f = File (if File is your first menu name starting with f). I'd like to assign my own letters and have them underscored, per the universal standard. Can this be done? Set the underline option to the

Re: Tkinter menus from keyboard

2008-03-26 Thread MartinRinehart
Guilherme Polo wrote: Set the underline option to the index of the desired letter Elegant simplicity in the dropdowns. Thanks! Now, how about main menu underscores? -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter menus from keyboard

2008-03-26 Thread Eric Brunel
On Wed, 26 Mar 2008 13:45:29 +0100, Guilherme Polo [EMAIL PROTECTED] wrote: 2008/3/26, [EMAIL PROTECTED] [EMAIL PROTECTED]: Tkinter defaults to, for example, Alt+f = File (if File is your first menu name starting with f). I'd like to assign my own letters and have them underscored, per

Re: Tkinter menus from keyboard

2008-03-26 Thread MartinRinehart
Eric Brunel wrote: BTW, this standard is not universal at all: e.g, there is no such convention on Macs. Thanks for the info. It's standard on Windows and Linux/KDE. GNOME, anyone? -- http://mail.python.org/mailman/listinfo/python-list