On Thu, 2005-31-03 at 11:39 +0200, LÃszlà Monda wrote:
> On Wed, 2005-03-30 at 19:54 -0800, John Finlay wrote:
> > LÃszlà Monda wrote:

> > >Could anyone shed some lights on what's really going on here?
> 
> Well, problem solved, great.  There were some minor errors in the code
> beyond thread.start().  I corrected them all and attached the source.
> 
> It would make a nice threading example IMO.  I don't remember any
> examples where more than one thread would manipulate the GUI
> simultaneously.  Someone could add it to some parts of the documentation
> or should I contact with a documentation manintainer?
> 

Here is a different way for threads to communicate between each other.
This way you can keep all GUI stuff in one thread only.  I have updated
the example code to include some of your examples features.

The dispatcher code has been created to be very generic so that it can
pass most any data between threads safely.   The majority of the code

-- 
Brian <[EMAIL PROTECTED]>

Attachment: dispatcher.py
Description: application/python

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to