[pygtk] Re: Guide of PyGTK and Threads
John Stowers
john.stowers.lists at gmail.com
Mon Feb 11 07:15:18 WST 2008
On Sun, 2008-02-10 at 22:56 +0100, Thomas Dybdahl Ahle wrote:
> Do you know about:
> http://www.pardon-sleeuwaegen.be/antoon/python/page0.html
> I like very much, that it takes up all the ways you can do threading in
> pygtk, so you can compare them.
Yeah but I dont particuarly like the *_enter() *_leave() approach. Just
preference I guess
John
>
>
> On Mon, 2008-02-11 at 09:01 +1300, John Stowers wrote:
> > 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
> >
> > _______________________________________________
> > pygtk mailing list pygtk at daa.com.au
> > http://www.daa.com.au/mailman/listinfo/pygtk
> > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
More information about the pygtk
mailing list