[pygtk] Re: Guide of PyGTK and Threads

John Stowers john.stowers.lists at gmail.com
Mon Feb 11 05:01:29 WST 2008


On Sun, 2008-02-03 at 22:44 -0200, Matí­as Alejandro Torres wrote:
> John Stowers escribió:
> > That page does not describe the approach that I use - the emission of
> > signals on an idle handler. You can check that our here
> >
> > http://www.johnstowers.co.nz/blog/index.php/2007/03/12/threading-and-pygtk/

I have updated my pygtk threaded demo [0] to include progress reporting
and non-blocking cancellation. Check out the linked blog post [2] for a
good base upon which to build your own threaded pygtk apps.

John

[0] http://www.johnstowers.co.nz/files/FooThread.py
[1] As much as is possible within the limitations of pythons
non-cancellable threads
[2]
http://www.johnstowers.co.nz/blog/index.php/2007/03/12/threading-and-pygtk/

> >
> > John
> >
> >   
> Couldn't access the sample code! See if you can fix that. I'll take a 
> look at it later. It seems a good aproach.
> 
> Thanks!
> 
> Matias



More information about the pygtk mailing list