Back to index

python3.2  3.2.2
Public Member Functions | Private Attributes
tkinter._setit Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Private Attributes

 __value
 __var
 __callback

Detailed Description

Internal class. It wraps the command in the widget OptionMenu.

Definition at line 3113 of file __init__.py.


Constructor & Destructor Documentation

def tkinter._setit.__init__ (   self,
  var,
  value,
  callback = None 
)

Definition at line 3115 of file __init__.py.

03115 
03116     def __init__(self, var, value, callback=None):
03117         self.__value = value
03118         self.__var = var
        self.__callback = callback

Here is the caller graph for this function:


Member Function Documentation

def tkinter._setit.__call__ (   self,
  args 
)

Definition at line 3119 of file __init__.py.

03119 
03120     def __call__(self, *args):
03121         self.__var.set(self.__value)
03122         if self.__callback:
03123             self.__callback(self.__value, *args)


Member Data Documentation

Definition at line 3118 of file __init__.py.

Definition at line 3116 of file __init__.py.

Definition at line 3117 of file __init__.py.


The documentation for this class was generated from the following file: