[wxPython-users] wxPostEvent
Josiah Carlson
jcarlson at uci.edu
Fri Sep 1 09:19:24 PDT 2006
Brendan Simon <Brendan at BrendanSimon.com> wrote:
>
> I'm trying to post an event from on OGL object to the parent window.
> Basically when I click on an object, I want to execute a command on the
> system. I've cut-n-paste the OGL code into a wxPanel. wxPanel has a
> wxProcess object and I want to call wxExecute to run the command. The
> OGL select event is detected and I'm trying to send a custom event (eg.
> EVT_EXECUTE) to my event handler which will call wxExecute. Is this the
> right (or a good approach) ???
>
> I can't work out how to create custom events. Is there sample code for
> this anywhere???
http://wiki.wxpython.org/index.cgi/CustomEventClasses
- Josiah
More information about the wxpython-users
mailing list