Table Of Contents

Previous topic

PyApp

Next topic

PyOnDemandOutputWindow

This Page

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

Inheritance diagram of PyEventBinder


method_summary Methods Summary

__init__  
Bind Bind this set of event types to target using its Connect() method.
Unbind Remove an event binding.
_getEvtType Make it easy to get to the default EventType typeID for this

property_summary Properties Summary

typeId See _getEvtType

api Class API



class PyEventBinder(object)

Instances of this class are used to bind specific events to event handlers.


Methods



__init__(self, evtType, expectedIDs=0)


Bind(self, target, id1, id2, function)

Bind this set of event types to target using its Connect() method.



Unbind(self, target, id1, id2, handler=None)

Remove an event binding.



_getEvtType(self)

Make it easy to get to the default wxEventType typeID for this event binder.


Properties



typeId

See _getEvtType