Tkinter option_add for menu radiobutton

Eric Brunel eric_brunel at despammed.com
Mon Feb 14 06:35:03 EST 2005


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 -



More information about the Python-list mailing list