Mark Summerfield <m...@qtrac.eu> added the comment: Did you mean formal test code? Or just an example like this:
from tkinter import * tk = Tk() bv = BooleanVar() print(bv.get(), type(bv.get())) bv.set(True) print(bv.get(), type(bv.get())) bv.set(False) print(bv.get(), type(bv.get())) ### output ### 0 <class 'int'> 1 <class 'int'> 0 <class 'int'> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15133> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com