Tkinter option_add for menu radiobutton
Bob Greschke
bob at passcal.nmt.edu
Mon Feb 14 11:38:10 EST 2005
"Eric Brunel" <eric_brunel at despammed.com> wrote in message
news:opsl6qgpu1rqur0o at eb.pragmadev...
> On Sun, 13 Feb 2005 15:31:18 -0700, Bob Greschke <bob at passcal.nmt.edu>
> wrote:
> [snip]
>> Root.option_add("*Radiobutton*selectColor", "black")
>>
>> also works fine for regular radiobuttons. What I can't
>> do is get the selectColor of the radiobutton's in the
>> menu to be black...the x.add_radiobutton() ones.
>>
>> Root.option_add("*Menu.Radiobutton*selectColor", "black")...nope
>> Root.option_add("*Menu*selectColor", "black")...no change
>
> Strange... The last one works for me (as it should - see
> http://www.tcl.tk/man/tcl8.4/TkCmd/menu.htm). What platform are you on and
> what is your tcl/tk version?
> - Eric Brunel -
Doh! You're right. Now it is here too. I must have been typing something
wrong...again. This was Python2.3 and whatever version of tcl/tk that comes
with it on Linux.
Thanks!
More information about the Python-list
mailing list