Tkinter.BooleanVar¶
-
class
Tkinter.BooleanVar(master=None, value=None, name=None)[source]¶ Value holder for boolean variables.
Methods¶
__del__() |
Unset the variable in Tcl. |
__eq__(other) |
Comparison for equality (==). |
__init__([master, value, name]) |
Construct a boolean variable. |
__str__() |
Return the name of the variable in Tcl. |
get() |
Return the value of the variable as a bool. |
set(value) |
Set the variable to VALUE. |
trace(mode, callback) |
Define a trace callback for the variable. |
trace_variable(mode, callback) |
Define a trace callback for the variable. |
trace_vdelete(mode, cbname) |
Delete the trace callback for a variable. |
trace_vinfo() |
Return all trace callback information. |