On Wed, Jul 08, 2009 at 01:37:52PM -0700, VladPotrosky wrote: . . . > 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? . . . if v._name == c.cget("variable").string: print "Ah-ha! They *do* match."
Maybe there is a better way. That's as far as I've thought about it. _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss