Re: Creating custom event in WxPython

2005-09-08 Thread Chris Lambacher
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

Re: Creating custom event in WxPython

2005-09-08 Thread NutJob
Cool, thanks a bunch! -- http://mail.python.org/mailman/listinfo/python-list

Re: Creating custom event in WxPython

2005-09-01 Thread fraca7
[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

Re: Creating custom event in WxPython

2005-09-01 Thread Sion Arrowsmith
<[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

Creating custom event in WxPython

2005-09-01 Thread NutJob
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