csound and glade / pygtk

stas zytkiewicz stas.zytkiewicz at gmail.com
Fri Jun 29 13:33:17 EDT 2007


On 6/29/07, Owen Williams <owen at ywwg.com> wrote:

> > the csound event and the pygtk interface currently run on seperate
> > threads, but they interfere with each other - any activity in the
> > interface causes csound to stop. i was wondering whether anyone has
> > some examples of similar applications running on the laptop?
You should tell GTK your gonna use threads.
When using threads I just put the following piece of code just after importing
gtk.

import gobject
gobject.threads_init()

That's all.

Stas

-- 
A collection of educational activities for schools
http://www.schoolsplay.org



More information about the Devel mailing list