Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterTimeoutPool |
Struct : | TimeoutPool |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
Create a new Clutter.TimeoutPool
Create a new Clutter.TimeoutPool
|
||
Sets a function to be called at regular intervals, and puts it inside the pool.
Sets a function to be called at regular intervals, and puts it inside the pool. The function is repeatedly called until it returns FALSE, at which point the timeout is automatically destroyed and the function won't be called again. If notify is not NULL, the notify function will be called. The first call to func will be at the end of interval. Since Clutter 0.8 this will try to compensate for delays. For example, if func takes half the interval time to execute then the function will be called again half the interval time after it finished. Before version 0.8 it would not fire until a full interval after the function completes so the delay between calls would be interval * 1.5. This function does not however try to invoke the function multiple times to catch up missing frames if
|
Clutter.TimeoutPool | |
remove
(Number id)
:
none
Removes a timeout function with id from the timeout pool.
Removes a timeout function with id from the timeout pool. The id is the same returned when adding a function to the timeout pool with clutter_timeout_pool_add().
|
Clutter.TimeoutPool |
None |