Tkinter: radiobutton

kiki kiki at
Thu Jun 24 22:52:19 EDT 1999

"Michael P. Reilly" wrote:

> No, it's not an obvious question at all.  Unfortunately, you need to
> track the index when you create the menu.  By default, the first call
> starts at 1, because the "tear-off" is 0.  If the menu is created with
> the -tearoff=0 option, then the index starts at 0

Bleh.  Oh well.  Kind of a shame, since I'd rather just have the color value
put into the color variable, not an index with my own list I have to maintain

Well, cool, at least I have a solution.

Thanx so much for your help!


More information about the Python-list mailing list