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

Paul Sijben sijben at eemvalley.com
Mon Jun 4 08:18:53 PDT 2007


OK thanks for the info. So I can generate a first stab from the docs and 
then be more complete after the SoC, that is fine. This is one of those 
projects that I can not afford to spend time on and at the same time can 
not afford to let lie....

Robin Dunn wrote:
> 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.
>

-- 
Paul Sijben                    	tel: +31334566488
Eemvalley Technology       	fax: +31334557523
the Netherlands                	http://eemvalley.com    





More information about the wxpython-users mailing list