python threading

Boudewijn Rempt boud at valdyas.org
Tue Apr 16 16:22:07 EDT 2002


Cliff Wells wrote:


> I'm not too familiar with other GUI toolkits, but in wxPython it's
> possible to generate a custom wxEvent that is put on the GUI's event queue
> and processed
> like any other GUI event.  You can then create an event handler for that
> custom
> event and safely do your updates there.  I've found this to be the
> simplest way
> to interact with a GUI from a thread.  I'd be surprised if PyQt didn't
> support something similar.
> 

>From 3.2, if everything works as needed. I wonder how the wxPython 
developers solved the problem Phil has just solved...

-- 
Boudewijn Rempt | http://www.valdyas.org



More information about the Python-list mailing list