Tkinter Checkboxes

Mikael Olofsson mikael at isy.liu.se
Tue Feb 21 02:47:04 EST 2006


D wrote:
> Ok, I'm sure this is something extremely simple that I'm missing,
> but..how do I set a variable in a Tkinter Checkbox?  i.e. I have a
> variable "test" - if the checkbox is selected, I want to set test=1,
> otherwise 0.  Thanks!
> 

http://www.pythonware.com/library/tkinter/introduction/x3897-patterns.htm


/MiO



More information about the Python-list mailing list