[ CCode ( cname = "clutter_threads_add_frame_source" ) ]
[ Version ( deprecated = true , deprecated_since = "1.6" , since = "0.8" ) ]
public uint add (uint fps, SourceFunc func)
Warning: add is deprecated since 1.6.
Simple wrapper around add_full.
There is no direct replacement for this API
fps |
the number of times per second to call the function |
func |
function to call |
data |
data to pass to the function |
the ID (greater than 0) of the event source. |