Ok, it work great ! You just have to append this lines :"
import gobject gobject.threads_init() " to use threads with PyGui on Linux. Hope it can help Ren 2012/5/30 Renaud Chénard <[email protected]> > Hello, > > I answer to myself because i've got something new with this problem. > > Indeed, it works perfectly on Windows. So i think the problem come from > PyGtk and his use of gobject. > > I will try to use this solution ( > http://faq.pygtk.org/index.py?req=show&file=faq20.001.htp) to see if it > works better now on Linux (did i forget to mention that i was on Linux ? > sorry...). > > Have a nice day > > Ren > > PS : sorry for my poor english... > > > 2012/5/28 Renaud Chénard <[email protected]> > >> Hello, >> >> I'm trying to use PyGui with PYO. <http://code.google.com/p/pyo/> >> >> I have done a Sequencer class based on View class (to easily communicate >> with my Model) that control the playback of the sound. >> >> PYO need is own thread to process sounds, but i can't find how to have a >> external thread communicating with the PyGui model. >> The result is not good with Task class : only playing when i move the >> interface... >> >> Is it possible ? >> >> Thanks for your answer >> >> Ren >> > >
_______________________________________________ Pygui mailing list [email protected] http://mail.python.org/mailman/listinfo/pygui
