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

Tim Daneliuk tundra at tundraware.com
Tue Feb 1 01:58:15 EST 2005


Tim Roberts wrote:

> Tim Daneliuk <tundra at tundraware.com> wrote:
> 
>>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.
> 
> 
> You can, of course, CHANGE the underlined character to match the
> circumstances.

Yeah, I understand that ... what I want is two characters simulatenously
underlined ... oh well, another solution will be arranged...

-- 
----------------------------------------------------------------------------
Tim Daneliuk     tundra at tundraware.com
PGP Key:         http://www.tundraware.com/PGP/



More information about the Python-list mailing list