Hello,

Use python threads. Don't forget to call clutter_init_threads. Use
clutter.threads_enter and threads_leave around clutter calls, in your
threads.

Maybe you can use a gobject timeout to do what you want.
http://www.pygtk.org/pygtk2reference/gobject-functions.html#function-gobject--timeout-add.
You will avoid threads then.  Some drivers are not friends with
threads.

Cheers,

Julien


2009/3/6 Lionel Dricot <[email protected]>

> Hello,
>
> I've a little application using libchamplain and clutter and I want to
> modify dynamically some properties of actors (like the size or the
> position).
>
> I want to use threads in this application. What's the easiest solution for
> that in Clutter ? Pierlux told me about threads_add_idle_full but I'm not
> sure it is available in the python bindings and I don't find any
> documentation about it.
>
> How do you use threads in pyclutter apps ?
>
> Thank in advance,
>
> Lionel
>

Reply via email to