Package wx :: Module _core :: Class EvtHandler
[show private | hide private]
[frames | no frames]

Type EvtHandler

object --+    
         |    
    Object --+
             |
            EvtHandler

Known Subclasses:
PyApp, Window

Method Summary
  __init__(self, *args, **kwargs)
__init__(self) -> EvtHandler
  __repr__(self)
  _setOORInfo(*args, **kwargs)
_setOORInfo(self, PyObject _self)
  AddPendingEvent(*args, **kwargs)
AddPendingEvent(self, Event event)
  Bind(self, event, handler, source, id, id2)
Bind an event to an event handler.
  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.
    Inherited from Object
  Destroy(*args, **kwargs)
Destroy(self)
  GetClassName(*args, **kwargs)
GetClassName(self) -> String
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
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)
(Constructor)

__init__(self) -> EvtHandler
Overrides:
wx._core.Object.__init__

_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__

Type:
Implements
Value:
<implementedBy wx._core.EvtHandler>                                    

__provides__

Type:
ClassProvides
Value:
<zope.interface.declarations.ClassProvides object at 0xb647646c>       

Generated by Epydoc 2.1 on Fri Jun 24 12:01:26 2005 http://epydoc.sf.net