A class that can handle events from the windowing system.
To get events from wxwidgets objects you subscribe to them by calling
If the
These messages will be
If a callback was supplied to connect, the callback will be invoked (in another process) to handle the event. The callback should be of arity 2.
Note: The callback will be in executed in new process each time.
See:
wxWidgets docs:
This function subscribes to events.
Subscribes to events of type
The events will be received as messages if no callback is supplied.
Options
id:
lastid:
skip:
callback:
userData:
This function unsubscribes the process or callback fun from the event handler.
EventType may be the atom 'null' to match any eventtype. Notice that the options skip and userdata is not used to match the eventhandler.