[Pygui] Use a thread in a View class

Renaud Chénard rchenard at gmail.com
Wed May 30 16:45:52 CEST 2012


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 <rchenard at gmail.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pygui/attachments/20120530/57077c69/attachment.html>


More information about the Pygui mailing list