On Wed, 2008-12-17 at 00:03 +0000, Dan Higham wrote:

> Can anyone tell me if there any plans to add support for
> clutter_threads_idle_add in pyClutter, it doesn't seem to be there
> unless I am missing something obvious!

the function is not bindable without re-implementing it inside the
bindings.

you can use:

  def idle_func (data):
      clutter.threads_enter()

      # your code

      clutter.threads_leave()

      return ret_val

  gobject.idle_add(idle_func, data)

instead, which is exactly what the C function does.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Intel Open Source Technology Center

-- 
To unsubscribe send a mail to [email protected]

Reply via email to