[Tkinter-discuss] Finding variable associated with checkbutton

VladPotrosky greendingbat99 at hotmail.com
Wed Jul 8 22:37:52 CEST 2009


How do you find the variable which a checkbutton is linked to?
example:


v = IntVar()
c = Checkbutton(master, text='Foo', variable=v)

how do you then find out (with code) that v is linked to c?

-----
---------------------------------------------------
"I'd like to share a revelation that I've had during my time here. It came
to me when I tried to classify your species and I realized that you're not
actually mammals."
-- Agent Smith
-- 
View this message in context: http://www.nabble.com/Finding-variable-associated-with-checkbutton-tp24398881p24398881.html
Sent from the Python - tkinter-discuss mailing list archive at Nabble.com.



More information about the Tkinter-discuss mailing list