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


Detailed Description

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

Definition at line 3113 of file

Constructor & Destructor Documentation

def tkinter._setit.__init__ (   self,
  callback = None 

Definition at line 3115 of file

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,

Definition at line 3119 of file

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

Definition at line 3116 of file

Definition at line 3117 of file

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