[PyKDE] Keeping the GUI from freezing

Carles Pina i Estany carles at pina.cat
Tue Feb 13 20:35:43 GMT 2007


Hi,

On Feb/13/2007, Tony Cappellini wrote:

> Does anyone have a Python example of how to use a Thread to keep a gui
> from becoming unresponsive?

for example, I create a thread and then I send Events to main thread
(who containts de GUI). To send events I use setData and postEvent. main
thread receives these events and updates the process bar

-- 
Carles Pina i Estany		GPG id: 0x8CBDAE64
	http://pinux.info	Manresa - Barcelona




More information about the PyQt mailing list