Package schrodinger :: Package ui :: Package widget :: Module tkinterwidget :: Class BooleanVar
[hide private]
[frames] | no frames]

Class BooleanVar

Tkinter.Variable --+    
                   |    
  Tkinter.BooleanVar --+
                       |
                      BooleanVar

Class that mimics the Tkinter.BooleanVar class. It requires a parent argument in order to avoid issues with using _default_root (This is problematic because our implementation of Python gets confused about _default_root when multiple windows have been opened.

Instance Methods [hide private]
 
__init__(self, parent)
Construct a boolean variable.

Inherited from Tkinter.BooleanVar: get, set

Inherited from Tkinter.Variable: __del__, __eq__, __str__, trace, trace_variable, trace_vdelete, trace_vinfo

Class Variables [hide private]

Inherited from Tkinter.BooleanVar (private): _default

Inherited from Tkinter.Variable (private): _tclCommands

Method Details [hide private]

__init__(self, parent)
(Constructor)

 

Construct a boolean variable.

MASTER can be given as master widget. VALUE is an optional value (defaults to False) NAME is an optional Tcl name (defaults to PY_VARnum).

If NAME matches an existing variable and VALUE is omitted then the existing value is retained.

Overrides: Tkinter.Variable.__init__
(inherited documentation)