tkinter: Can You Underline More Than 1 Char In A Menu Title

Tim Daneliuk tundra at
Thu Jan 27 06:38:22 EST 2005

I am currently underling the first character of a menu title (to indicate
its shortcut/accelerator key) like this:

    self.WildBtn = Menubutton(self.mBar, text=WILDMENU, underline=0, state=DISABLED)

However, I intend to actually have two separate keys invoke this menu
to have it behave differently in different circumstances.

Is it possible to underline more than a single character as I am doing
with the 'underline=0' above. I tried 'underline=(0,2)' but that didn't


Tim Daneliuk     tundra at
PGP Key:

More information about the Python-list mailing list