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

Class StringVar

Tkinter.Variable --+    
                   |    
   Tkinter.StringVar --+
                       |
                      StringVar

Class that mimics the Tkinter.StringVar 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 string variable.

Inherited from Tkinter.StringVar: get

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

Class Variables [hide private]

Inherited from Tkinter.StringVar (private): _default

Inherited from Tkinter.Variable (private): _tclCommands

Method Details [hide private]

__init__(self, parent)
(Constructor)

 

Construct a string variable.

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