Tix.IntVar

class Tix.IntVar(master=None, value=None, name=None)[source]

Value holder for integer variables.

Methods

__del__() Unset the variable in Tcl.
__eq__(other) Comparison for equality (==).
__init__([master, value, name]) Construct an integer variable.
__str__() Return the name of the variable in Tcl.
get() Return the value of the variable as an integer.
set(value) Set the variable to value, converting booleans to integers.
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.