SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
List of all members
Tkinter.IntVar Class Reference

Value holder for integer variables. More...

Inheritance diagram for Tkinter.IntVar:
Tkinter.Variable

Methods defined here:

def __init__
def get
def set

Methods inherited from Variable:

def __del__
def __eq__
def __str__
def trace_variable
def trace_variable
def trace_vdelete
def trace_vinfo

Additional Inherited Members

- Public Member Functions inherited from Tkinter.Variable

Detailed Description

Value holder for integer variables.

Constructor & Destructor Documentation

def Tkinter.IntVar.__init__ (   args)
 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.

Reimplemented from Tkinter.Variable.

def Tkinter.IntVar.__del__ (   args)
 Unset the variable in Tcl.

Reimplemented from Tkinter.Variable.

Member Function Documentation

def Tkinter.IntVar.__eq__ (   args)
 Comparison for equality (==).
 
 Note: if the Variable's master matters to behavior
 also compare self._master == other._master

Reimplemented from Tkinter.Variable.

def Tkinter.IntVar.__str__ (   args)
 Return the name of the variable in Tcl.

Reimplemented from Tkinter.Variable.

def Tkinter.IntVar.get (   args)
 Return the value of the variable as an integer.

Reimplemented from Tkinter.Variable.

def Tkinter.IntVar.set (   args)
 Set the variable to value, converting booleans to integers.

Reimplemented from Tkinter.Variable.

def Tkinter.IntVar.trace_variable (   args)
 Define a trace callback for the variable.
 
 MODE is one of "r", "w", "u" for read, write, undefine.
 CALLBACK must be a function which is called when
 the variable is read, written or undefined.
 
 Return the name of the callback.

Reimplemented from Tkinter.Variable.

def Tkinter.IntVar.trace_variable (   args)
 Define a trace callback for the variable.
 
 MODE is one of "r", "w", "u" for read, write, undefine.
 CALLBACK must be a function which is called when
 the variable is read, written or undefined.
 
 Return the name of the callback.

Reimplemented from Tkinter.Variable.

def Tkinter.IntVar.trace_vdelete (   args)
 Delete the trace callback for a variable.
 
 MODE is one of "r", "w", "u" for read, write, undefine.
 CBNAME is the name of the callback returned from trace_variable or trace.

Reimplemented from Tkinter.Variable.

def Tkinter.IntVar.trace_vinfo (   args)
 Return all trace callback information.

Reimplemented from Tkinter.Variable.