Tkinter "Expected boolean value"
Mike Abel
Ax10 at gmx.de
Sun Nov 30 02:39:18 EST 2003
More information about the Python-list mailing list
Sun Nov 30 02:39:18 EST 2003
- Previous message (by thread): Tkinter "Expected boolean value"
- Next message (by thread): Importing from a file to use contained variables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Grzegorz Dostatni <grzegorz at ee.ualberta.ca> wrote: > File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 2310, in selection_present > return self.tk.getboolean( > TclError: expected boolean value but got "" After looking in the man-page of Tcl_GetBoolean here is a more precise answer. "Tcl_GetBoolean expects string to specify a boolean value. If string is any of 0, false, no, or off, then Tcl_GetBoolean stores a zero value at *boolPtr. If string is any of 1, true, yes, or on, then 1 is stored at *boolPtr. Any of these values may be abbreviated, and upper-case spellings are also acceptable." Hope that helps. Mike
- Previous message (by thread): Tkinter "Expected boolean value"
- Next message (by thread): Importing from a file to use contained variables
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list