PyQt, Cannot send events to objects owned by a different thread?

Alexander Tuchacek atuc at gmx.de
Sun Nov 25 12:29:58 EST 2007


David Boddie wrote:

> You can either construct some sort of event handling mechanism or use
> signals and slots. Personally, I'd use signals and slots for this, if
> possible.
> 
> The idea would be to set up a connection between your callback code and
> the status bar's showMessage() slot. Then you would only have to emit that
> signal to update the status bar.

hallo david,

great, the signal an slot mechanism works over threads, 

thanks
alex



More information about the Python-list mailing list