[wxPython-users] file with all events from a widget

Robin Dunn robin at alldunn.com
Fri Jun 1 11:58:04 PDT 2007


Paul Sijben wrote:
> I am looking for a way to autogenerate event handling template code for 
> all events in my system. So I am looking for some means of automatically 
> figuring out which events may be launched from a particular wx.Python 
> class. Is there some file I can parse for that info?

Other than the docs (which certainly have some inaccuracy in this area) 
there isn't anything like that, although it would certainly be nice to have.

One of the wx SoC projects this year is to complete a widget metadata 
project that was started a few years ago.  When this is complete it will 
probably be able to be used to discover applicable events (and other 
properties) at runtime.  It just depends on how well that is able to be 
mapped into Python.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list