Tkinter.StringVar

class Tkinter.StringVar(master=None, value=None, name=None)[source]

Value holder for strings variables.

Methods

__del__() Unset the variable in Tcl.
__eq__(other) Comparison for equality (==).
__init__([master, value, name]) Construct a string variable.
__str__() Return the name of the variable in Tcl.
get() Return value of variable as string.
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.