Serhiy Storchaka added the comment: What if run following code?
import tkinter root = tkinter.Tk() widget = tkinter.Menubutton(root) for value in (True, 1, 'true', 'yes', 'on'): print(value, flush=True) widget['indicatoron'] = value ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19954> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com