0
About checkbutton in tkinter
Hello, I want to make an if condition according To the state of thé checkbutton. This is thé part le my code where i think there is a problem abc=IntVar() Checkb=Checkbutton(fenetre,text='quit ?', variable=abc) Checkb.grid() If abc.get()==1: fenetre.destroy() Can you help me ? Thank you.
1 Réponse
+ 3
This is serious
Check online