You should be derriving from PyCommandEvent since only CommandEvents are set
to propegate, which is probably what you want (see the wxwidgets Event
handling overview).
In order to use Bind you will need an instance of PyEventBinder. For the
example below that would be something like:
EVT_INVOKE
Cool, thanks a bunch!
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] a écrit :
> Now when my socket thread detects an incoming message, I need my main
> thread to interpret the message and react to it by updating the GUI.
> IMO the best way to achieve this is by having my socket thread send a
> custom event to my application's event loop for the m
<[EMAIL PROTECTED]> wrote:
>Now when my socket thread detects an incoming message, I need my main
>thread to interpret the message and react to it by updating the GUI.
>IMO the best way to achieve this is by having my socket thread send a
>custom event to my application's event loop for the main t
Hello,
I'm faced with the following problem: I have a (secondary) thread that
monitors a socket for incoming message traffic using the
select.select() function.
Besides that I also have the main thread of my WxPython application. So
far so good.
Now when my socket thread detects an incoming mess