Contents
In wxPython, Events' base classes are wxEvent. Try the following code to assure yourself of it:
>>> import wx >>> issubclass(wxCloseEvent,wxEvent) True
And:
>>> issubclass(wxCloseEvent,wxEventPtr) False
Use Bind() to bind wxObjects to wxEvents. Generally, self.Bind(wx.SOME_EVENT, callbackFn, self.boundObject). I dunno, that's a pretty crap example but hey it's something... As I dig around in this more I'll post more, but I'm just a n00b. --TomPlunket
Event handling overview in the wxWindows Documentation http://www.wxwidgets.org/manuals/2.5.3/wx_eventhandlingoverview.html
In the wxPython XXX
AdvancedEvents (last edited 2008-03-11 10:50:25 by localhost)