Internal class. More...
Public Member Functions | |
| def | __call__ (self, *cnf) |
| The call method. More... | |
| def | __init__ (self, widget, callback=None, value=None, variable=None) |
| The constructor. More... | |
Internal class.
It wraps the command in widgets which have a command option.
| def __init__ | ( | self, | |
| widget, | |||
callback = None, |
|||
value = None, |
|||
variable = None |
|||
| ) |
The constructor.
| widget | the widget which will generate the call (it will be retrieved as the .widget attribute of the generated event) |
| callback | the callback |
| value | an optional value, which will retrieved as the .value attribute of the generated event) |
| variable | an IntVar, StringVar, DoubleVar or BooleanVar which will get the value when the callback is called |
| def __call__ | ( | self, | |
| * | cnf | ||
| ) |
The call method.