Tkinter: menu entry - icon+text
Uwe Mayer
merkosh at hadiko.de
Fri Oct 5 07:19:57 EDT 2001
Hi there,
i was trying to create a menubar where each entry in the i.e. "File"
pull down menu was equipped not only by a text xor an icon but both:
[ <icon> <description> <shortcut>]
i.e.
[ <blank> New Document Ctrl-N]
however the Tkinter.Menu.add() method only supports 'command',
'cascade', 'checkbutton', 'radiobutton' and 'separator'.
Originally I tried to pack the icon, text and shortcut into a frame
widget, but Menu won't accept or display it propperly.
Is there any workaround?
Thanks in advance for any help.
Yours
Uwe
More information about the Python-list
mailing list