add


Description:

[ 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.

Note:

There is no direct replacement for this API

Parameters:

fps

the number of times per second to call the function

func

function to call

data

data to pass to the function

Returns:

the ID (greater than 0) of the event source.


Package: clutter-1.0