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

Class IntVar

Tkinter.Variable --+    
                   |    
      Tkinter.IntVar --+
                       |
                      IntVar

Class that mimics the Tkinter.IntVar 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 an integer variable.

Inherited from Tkinter.IntVar: get, set

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

Class Variables [hide private]

Inherited from Tkinter.IntVar (private): _default

Inherited from Tkinter.Variable (private): _tclCommands

Method Details [hide private]

__init__(self, parent)
(Constructor)

 

Construct an integer variable.

MASTER can be given as master widget. VALUE is an optional value (defaults to 0) 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)