PyEvent(id=0, eventType=wxEVT_NULL)
PyEvent
can be used as a base class for implementing custom
event types in Python. You should derive from this class instead
of Event
because this class is Python-aware and is able to
transport its Python bits safely through the wxWidgets event
system and have them still be there when the event handler is
invoked. Note that since PyEvent
is taking care of preserving
the extra attributes that have been set then you do not need to
override the Clone method in your derived classes.
See also
PyCommandEvent
Initialize self. See help(type(self)) for accurate signature. |
UpdateThrobberEvent
(wx.PyEvent)¶PyEvent(id=0, eventType=wxEVT_NULL)
PyEvent
can be used as a base class for implementing custom
event types in Python. You should derive from this class instead
of Event
because this class is Python-aware and is able to
transport its Python bits safely through the wxWidgets event
system and have them still be there when the event handler is
invoked. Note that since PyEvent
is taking care of preserving
the extra attributes that have been set then you do not need to
override the Clone method in your derived classes.