Tkinter menus made easy

MartinRinehart at gmail.com MartinRinehart at gmail.com
Thu Mar 27 14:29:01 EDT 2008



bearophileH... at lycos.com wrote:
> menudef = """
> File
>     New,        callNew,            Ctrl-N
>     New Window, callNewWindow,      Ctrl-Shift-N
>     __
>     Open,       lambda e=0:para(1), Ctrl-O

Nice design. I looked at it for a few seconds and didn't even
think about pressing F1.

Mine does less. But you tell it less to do it.

Is there no way to get underscore/ keyboard access for
the main menu items?



More information about the Python-list mailing list