Aug-02-2018, 03:48 PM
text1 = Checkbutton (root, text = "Text")
text1.place(x = 100, y = 290)
if text1.isChecked():
print("Hi")
This is the code I am trying to run. I want my code to go into the if statement whenever the checkbox is checked, if it gets unchecked and then checked again, I want it to go back into the if statement. Right now it is not doing anything. How can I get it to work?
Thank you!
text1.place(x = 100, y = 290)
if text1.isChecked():
print("Hi")
This is the code I am trying to run. I want my code to go into the if statement whenever the checkbox is checked, if it gets unchecked and then checked again, I want it to go back into the if statement. Right now it is not doing anything. How can I get it to work?
Thank you!
