[ Version ( since = "2.78" ) ]
public uint add_seconds_once (uint interval, SourceOnceFunc function)
This function behaves like add_once but with a range in seconds.
interval |
the time after which the function will be called, in seconds |
function |
function to call |
data |
data to pass to |
the ID (greater than 0) of the event source |