GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||
GeezerVison is showing docs.wxpython.org — wx.PyEvent — wxPython 4.3.2 Docs
|
Make a new instance of the event that is a copy of self. |
|
Gives access to the internal object that is tracking the event’s python attributes. |
Class API¶Possible constructors:
PyEvent(id=0, eventType=wxEVT_NULL) -> None
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
id (int)
eventType (wx.EventType)
None
Make a new instance of the event that is a copy of self.
Through the magic of Python this implementation should work for this and all derived classes.
name (PyObject)
None
name (PyObject)
Any
name (PyObject)
value (PyObject)
None
Gives access to the internal object that is tracking the event’s python attributes.
Any