wx._core.EvtHandler
Proxy of C++ EvtHandler class
AddPendingEvent(args, kwargs)
AddPendingEvent(self, Event event)
Bind(self, event, handler, source, id, id2)
Bind an event to an event handler.
:param event: One of the EVT_* objects that specifies the
type of event to bind,
:param handler: A callable object to be invoked when the
event is delivered to self. Pass None to
disconnect an event handler.
:param source: Sometimes the event originates from a
different window than self, but you still
want to catch it in self. (For example, a
button event delivered to a frame.) By
passing the source of the event, the event
handling system is able to differentiate
between the same event type from different
controls.
:param id: Used to spcify the event source by ID instead
of instance.
:param id2: Used when it is desirable to bind a handler
to a range of IDs, such as with EVT_MENU_RANGE.
Connect(args, kwargs)
Connect(self, int id, int lastId, int eventType, PyObject func)
Disconnect(args, kwargs)
Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool
GetEvtHandlerEnabled(args, kwargs)
GetEvtHandlerEnabled(self) -> bool
GetNextHandler(args, kwargs)
GetNextHandler(self) -> EvtHandler
GetPreviousHandler(args, kwargs)
GetPreviousHandler(self) -> EvtHandler
ProcessEvent(args, kwargs)
ProcessEvent(self, Event event) -> bool
ProcessPendingEvents(args, kwargs)
ProcessPendingEvents(self)
SetEvtHandlerEnabled(args, kwargs)
SetEvtHandlerEnabled(self, bool enabled)
SetNextHandler(args, kwargs)
SetNextHandler(self, EvtHandler handler)
SetPreviousHandler(args, kwargs)
SetPreviousHandler(self, EvtHandler handler)
Unbind(self, event, source, id, id2)
Disconencts the event handler binding for event from self.
Returns True if successful.
[constructor]
Usage: classname(arguments)
[member '__doc__']
Documentation for this class
[member '__module__']
The module that this class belongs to
[operator 'repr']
Usage: repr(a)