Internal class. More...
Public Member Functions | |
| def | __call__ (self, event) |
| The call method. More... | |
| def | __init__ (self, widget, callback=None) |
| The constructor. More... | |
Internal class.
It wraps the function call for events bound to a widget by the bind() method, allowing to ignore the event when the widget is in the DISABLED state.
| def __init__ | ( | self, | |
| widget, | |||
callback = 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 |
| def __call__ | ( | self, | |
| event | |||
| ) |
The call method.