My project has several checkboxes, I would like to mark some as selected
[An example]
How do I tag a specific one?
I tried
self.checkButton[2].select()
self.checkButton['checkbox_2'].select()
self.checkButton.select(2)
but without success, how do I check a specific checkbox?
self.checkButton
is my checkbox
self.checkButton = tkinter.Checkbutton(self.canvas, background="white", ...)
CodePudding user response: