On 6/29/07, Owen Williams <[EMAIL PROTECTED]> 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
_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to