Tkinter issue

Benjamin benjamin.sauthier at worldonline.fr
Sun Aug 27 11:11:17 EDT 2000


I made 2 widget
1 checkbutton
1 frame containing some other button, label, ....

when I check the button I want to activate the frame and disactivate it when
I uncheck the button.

I did it with a callback
checkbutton(text="....", ...., command=callback)

def callback():
 if check button status:
     frame.config(status=DISABLED)
else:
        frame.config(status=ENABLED)

But it seems there is no status for a frame. Is there an other widget who
could do the job, or should I unactivate all the widget inside the frame

is there and visual development tool for Python/Tkinter?

thanks

Benjamin





More information about the Python-list mailing list