Hi, Right now it is possible to do
bv = BooleanVar() bv.set(any_old_rubbish) b = bv.get() # b is an int not a bool I've reported this as a bug and commented that I think that BooleanVar, IntVar, FloatVar, and StringVar should honor the type in their names (i.e., bool, int, float, str). If this matters to you could you look at the issue and maybe comment? http://bugs.python.org/issue15133 -- Mark Summerfield, Qtrac Ltd, www.qtrac.eu C++, Python, Qt, PyQt - training and consultancy "Programming in Go" - ISBN 0321774639 http://www.qtrac.eu/gobook.html _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss