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 =
Cam wrote:
Any grid experts about? This minimal Tkinter program:
from Tkinter import *
root = Tk()
root.geometry('640x480')
B = Button(root)
B.grid(column=0,row=0,sticky='wn')
root.mainloop()
produces a top-level with a Button centered in it. But I don't