Package wx :: Class PyEventBinder
[frames | no frames]

Type PyEventBinder

object --+
         |
        PyEventBinder


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


Method Summary
  __init__(self, evtType, expectedIDs)
  __call__(self, *args)
For backwards compatibility with the old EVT_* functions.
  Bind(self, target, id1, id2, function)
Bind this set of event types to target.
  Unbind(self, target, id1, id2, handler)
Remove an event binding.

Property Summary
  typeId: Make it easy to get to the default wxEventType typeID for this event binder.

Method Details

__call__(self, *args)
(Call operator)

For backwards compatibility with the old EVT_* functions. Should be called with either (window, func), (window, ID, func) or (window, ID1, ID2, func) parameters depending on the type of the event.

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

Bind this set of event types to target.

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

Remove an event binding.


Property Details

typeId

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


Generated by Epydoc 2.1.20050511.rpd on Mon Feb 16 12:51:47 2009 http://epydoc.sf.net