Re: [clutter] Threads with pyclutter

2009-03-07 Thread Emmanuele Bassi
On Fri, 2009-03-06 at 17:01 +0100, Lionel Dricot wrote: The sources of the bindings shows threads_add_idle_full but it also seems to be in a ignore list and clutter.threads_add_idle_full doesn't work. the clutter_threads_add_idle_* and clutter_threads_add_timeout_* family of functions are not

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Lionel Dricot
I'm really not friend with Python threads (I find Gobject threads easier to use) but, indeed, I think that callbacks and timeout will save me a lot of headache ! Thanks for the tip. Lionel On Fri, Mar 6, 2009 at 2:58 PM, Julien Pauty julien.pa...@gmail.com wrote: Hello, Use python threads.

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Damien Boucard - UbiCast
Le Fri, 6 Mar 2009 16:36:57 +0100, Lionel Dricot zepl...@gmail.com a écrit : I'm really not friend with Python threads (I find Gobject threads easier to use) but, indeed, I think that callbacks and timeout will save me a lot of headache ! then gobject.idle_add is your friend ! ;) Damien. --

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Pierre-Luc Beaudoin
then gobject.idle_add is your friend ! ;) actually clutter provides a thread safe (for Clutter) idle_add! but I don't know its name in Python. -- Pierre-Luc -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Lionel Dricot
The sources of the bindings shows threads_add_idle_full but it also seems to be in a ignore list and clutter.threads_add_idle_full doesn't work. Damien What do you use in candies ? On Fri, Mar 6, 2009 at 4:55 PM, Pierre-Luc Beaudoin pierre-...@pierlux.comwrote: then gobject.idle_add is

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Damien Boucard - UbiCast
Le Fri, 6 Mar 2009 17:01:17 +0100, Lionel Dricot zepl...@gmail.com a écrit : The sources of the bindings shows threads_add_idle_full but it also seems to be in a ignore list and clutter.threads_add_idle_full doesn't work. Damien What do you use in candies ? I don't actually use add_idle