On Wed, 2008-09-24 at 07:01 -0400, Pierre-Luc Beaudoin wrote:

> Actually, that's not clear from what I gave you, but you can call
> idle_add directly on "gobject":
> 
> import gobject
> 
> if __name__ == '__main__':
>       #here or anywhere else btw
>       gobject.idle_add(on_idle, data)

        clutter.main()
> 
> def on_idle(self, data):
>       #do something
        return False   # to remove the idle handler
                       # from the main loop; True will
                       # keep it attached

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Intel Open Source Technology Center

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to