Extending Events

Lee McColl-Sylvester lee.mccoll at lyons-group.co.uk
Fri Aug 4 02:07:05 PDT 2006


Hi List,

 

I'm intending on using wxWidgets to provide GUI support for a scripting
language, but I'm having trouble working out how best to support events.
I know that wxPython extends the event objects, but how do they then get
the widgets to send the events with the extended data?

 

For example, normally one would register an event and supply a function
pointer using the event table macros, but this won't be possible in my
cercumstance.  I'm gonna need to register the event dynamically, passing
not only a function call but also various parameters that the function
will need to be able to proxy the event back to the scripting language.

 

Does anyone on this list have experience with this?  Do you know of any
examples I can look at?

 

Regards,

Lee

 

 

 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4005 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wx-users/attachments/20060804/1d9f514f/attachment.bin


More information about the wx-users mailing list