May-09-2020, 08:44 PM
How do I get the current value of a checkbutton. So if someone checked a box, then how to get the value. Is the value either 1 or 0?
Example:
Example:
var5 = IntVar() checksmoke = Checkbutton(checkin, text="Smoker", bg="yellow", command=selectsmoke, variable=var5) checksmoke.place(x=105, y=420)