Tkinter :: IntVar :: Class IntVar
[hide private]
[frames] | no frames]

Class IntVar

source code

Variable --+
           |
          IntVar

Value holder for integer variables.

Instance Methods [hide private]
  __init__(self, master=None)
Construct an integer variable.
  get(self)
Return the value of the variable as an integer.
  set(self, value)
Set the variable to value, converting booleans to integers.

Inherited from Variable: __del__, __str__, trace, trace_variable, trace_vdelete, trace_vinfo


Class Variables [hide private]
  _default = 0

Method Details [hide private]

__init__(self, master=None)
(Constructor)

source code 

Construct an integer variable.

MASTER can be given as master widget.
Overrides: Variable.__init__

get(self)

source code 
Return the value of the variable as an integer.
Overrides: Variable.get

set(self, value)

source code 
Set the variable to value, converting booleans to integers.
Overrides: Variable.set

Class Variable Details [hide private]

_default

None
Value:
0