$search

src::_event_ex::PyEventBinder Class Reference

List of all members.

Public Member Functions

def __call__
def __init__
def Bind
def Unbind

Public Attributes

 evtType
 expectedIDs

Properties

 typeId = property(_getEvtType)

Private Member Functions

def _getEvtType

Detailed Description

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

Definition at line 5 of file _event_ex.py.


Member Function Documentation

def src::_event_ex::PyEventBinder::__call__ (   self,
  args 
)
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.

Definition at line 44 of file _event_ex.py.

def src::_event_ex::PyEventBinder::__init__ (   self,
  evtType,
  expectedIDs = 0 
)

Definition at line 10 of file _event_ex.py.

def src::_event_ex::PyEventBinder::_getEvtType (   self  )  [private]
Make it easy to get to the default wxEventType typeID for this
event binder.

Definition at line 34 of file _event_ex.py.

def src::_event_ex::PyEventBinder::Bind (   self,
  target,
  id1,
  id2,
  function 
)
Bind this set of event types to target.

Definition at line 21 of file _event_ex.py.

def src::_event_ex::PyEventBinder::Unbind (   self,
  target,
  id1,
  id2 
)
Remove an event binding.

Definition at line 27 of file _event_ex.py.


Member Data Documentation

Definition at line 16 of file _event_ex.py.

Definition at line 13 of file _event_ex.py.


Property Documentation

src::_event_ex::PyEventBinder::typeId = property(_getEvtType) [static]

Definition at line 41 of file _event_ex.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


wxPython_swig_interface
Author(s): Many
autogenerated on Sat Mar 2 13:30:49 2013