Il giorno mer, 19/05/2010 alle 14.43 -0700, Stuart Axon ha scritto: > Has anybody successfully used a DrawingArea along with multiprocessing? > > I'm trying to get it to work, but am a bit confused. > > > I was imagining I could run gtk.main in one thread, and update the drawing > area in the other, is there a simple example somewhere? > > (At the moment I just get no redraws) >
Apart from http://faq.pygtk.org/index.py?req=all#20.1 and from the fact that life is simpler if only main thread plays with widgets, then consider that multiprocessing does _not_ use threads, but separate processes instead. Pietro _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
