Trees | Index | Help |
|
---|
Package wx :: Module _core :: Class EvtHandler |
|
object
--+ |Object
--+ | EvtHandler
PyApp
,
Window
Method Summary | |
---|---|
__init__(self) -> EvtHandler | |
__repr__(self)
| |
_setOORInfo(self, PyObject _self) | |
AddPendingEvent(self, Event event) | |
Bind an event to an event handler. | |
Connect(self, int id, int lastId, int eventType, PyObject func) | |
Disconnect(self, int id, int lastId=-1, wxEventType eventType=wxEVT_NULL) -> bool | |
GetEvtHandlerEnabled(self) -> bool | |
GetNextHandler(self) -> EvtHandler | |
GetPreviousHandler(self) -> EvtHandler | |
ProcessEvent(self, Event event) -> bool | |
ProcessPendingEvents(self) | |
SetEvtHandlerEnabled(self, bool enabled) | |
SetNextHandler(self, EvtHandler handler) | |
SetPreviousHandler(self, EvtHandler handler) | |
Disconencts the event handler binding for event from self. | |
Inherited from Object | |
Destroy(self) | |
GetClassName(self) -> String | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
Implements |
__implemented__ = <implementedBy wx._core.EvtHandler>
|
ClassProvides |
__provides__ = <zope.interface.declarations.ClassProvide...
|
Inherited from Object | |
ClassProvides |
__providedBy__ = <zope.interface.declarations.ClassProvi...
|
Method Details |
---|
__init__(self,
*args,
**kwargs)
__init__(self) -> EvtHandler
|
_setOORInfo(*args, **kwargs)_setOORInfo(self, PyObject _self) |
AddPendingEvent(*args, **kwargs)AddPendingEvent(self, Event event) |
Bind(self, event, handler, source=None, id=-1, id2=-1)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=None, id=-1, id2=-1)Disconencts the event handler binding for event from self. Returns True if successful. |
Class Variable Details |
---|
__implemented__
|
__provides__
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:26 2005 | http://epydoc.sf.net |