.. include:: headings.inc .. _PyEventBinder: ========================================================================================================================================== |phoenix_title| **PyEventBinder** ========================================================================================================================================== Instances of this class are used to bind specific events to event handlers. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **PyEventBinder** .. raw:: html

Inheritance diagram of PyEventBinder

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~PyEventBinder.__init__` :meth:`~PyEventBinder.Bind` Bind this set of event types to target using its Connect() method. :meth:`~PyEventBinder.Unbind` Remove an event binding. :meth:`~PyEventBinder._getEvtType` Make it easy to get to the default EventType typeID for this ================================================================================ ================================================================================ | |property_summary| Properties Summary ===================================== ================================================================================ ================================================================================ :attr:`~PyEventBinder.typeId` See :meth:`~PyEventBinder._getEvtType` ================================================================================ ================================================================================ | |api| Class API =============== .. class:: PyEventBinder(object) Instances of this class are used to bind specific events to event handlers. .. method:: __init__(self, evtType, expectedIDs=0) .. method:: Bind(self, target, id1, id2, function) Bind this set of event types to target using its Connect() method. .. method:: Unbind(self, target, id1, id2, handler=None) Remove an event binding. .. method:: _getEvtType(self) Make it easy to get to the default wxEventType typeID for this event binder. .. attribute:: typeId See :meth:`~PyEventBinder._getEvtType`