Re: help with radionbutton

2007-03-26 Thread John McMonagle
Sang Park wrote: > how do I select radionbutton by default? > for my school project, I need to have 10 radio buttons and have half of > them selected > I have > for i in range(10): > x = IntVar() > if i < 5: > rb = Radiobutton(buttonFrame, variable=x, value=1,state=DISABLED) > else: > rb = Radiob

help with radionbutton

2007-03-26 Thread Sang Park
how do I select radionbutton by default? for my school project, I need to have 10 radio buttons and have half of them selected I have for i in range(10): x = IntVar() if i < 5: rb = Radiobutton(buttonFrame, variable=x, value=1,state=DISABLED) else