Reputation: 381
I've been trying to create a simple RadioButton, but the issue is that both buttons already show up as clicked (they have the black circle inside of them when the GUI starts up). How would I fix this?
this.myVar = StringVar()
this.button1 = Radiobutton(this.root,text = "Small Boxes First",variable = this.myVar)
this.button1.grid(row = 2,column = 5)
this.button2 = Radiobutton(this.root,text = "Large Boxes First",variable = this.myVar)
this.button2.grid(row = 3,column = 5)
Upvotes: 1
Views: 79