This is the main class in the module, and is the only class that the application programmer needs to use. There is a pre-created instance of this class called ‘eventManager’. It should not be necessary to create other instances.
Initialize self. See help(type(self)) for accurate signature. |
|
Deregister any entries relating to dead |
|
Deregister all event notifications for the given listener. |
|
Deregister all events coming from the given window. |
|
Return a list of topics relating to dead wxPython |
|
Return a dictionary with data about my state. |
|
Registers a listener function (or any callable object) to |
This is the main class in the module, and is the only class that the application programmer needs to use. There is a pre-created instance of this class called ‘eventManager’. It should not be necessary to create other instances.
Initialize self. See help(type(self)) for accurate signature.
Deregister any entries relating to dead wxPython objects. Not sure if this is an important issue; 1) My app code always de-registers listeners it doesn’t need. 2) I don’t think that lingering references to these dead objects is a problem.
Deregister all event notifications for the given listener.
Deregister all events coming from the given window.
Return a list of topics relating to dead wxPython objects.
Return a dictionary with data about my state.
Registers a listener function (or any callable object) to receive events of type event coming from the source window. For example:
eventManager.Register(self.OnButton, EVT_BUTTON, theButton)
Alternatively, the specific window where the event is delivered, and/or the ID of the event source can be specified. For example:
eventManager.Register(self.OnButton, EVT_BUTTON, win=self, id=ID_BUTTON)
or:
eventManager.Register(self.OnButton, EVT_BUTTON, theButton, self)