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

Value holder for float variables. More...

Inheritance diagram for Tkinter.DoubleVar:
Tkinter.Variable

Methods defined here:

def __init__
def get

Methods inherited from Variable:

def __del__
def __eq__
def __str__
def set
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 float variables.

Constructor & Destructor Documentation

def Tkinter.DoubleVar.__init__ (   args)
 Construct a float variable.
 
 MASTER can be given as master widget.
 VALUE is an optional value (defaults to 0.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.DoubleVar.__del__ (   args)
 Unset the variable in Tcl.

Reimplemented from Tkinter.Variable.

Member Function Documentation

def Tkinter.DoubleVar.__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.DoubleVar.__str__ (   args)
 Return the name of the variable in Tcl.

Reimplemented from Tkinter.Variable.

def Tkinter.DoubleVar.get (   args)
 Return the value of the variable as a float.

Reimplemented from Tkinter.Variable.

def Tkinter.DoubleVar.set (   args)
 Set the variable to VALUE.

Reimplemented from Tkinter.Variable.

def Tkinter.DoubleVar.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.DoubleVar.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.DoubleVar.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.DoubleVar.trace_vinfo (   args)
 Return all trace callback information.

Reimplemented from Tkinter.Variable.