I want to have a checkbutton that when it is pushed will do a function
depending on if it was pushed before or not. Ei:
b=checkbutton(c ommand=check)
b.grid(row=0,co lumn=0)
def check():
if (b.value==0):
do_stuff_here()
elif(b.value==1 )
do_other_stuff_ here()
However, I keep running into problems with reading the data. How do I
make this work? Thanks!
depending on if it was pushed before or not. Ei:
b=checkbutton(c ommand=check)
b.grid(row=0,co lumn=0)
def check():
if (b.value==0):
do_stuff_here()
elif(b.value==1 )
do_other_stuff_ here()
However, I keep running into problems with reading the data. How do I
make this work? Thanks!
Comment