threads_add_timeout


Description:


[ Version ( since = "2.12" ) ]
public uint threads_add_timeout (uint interval, SourceFunc function)

A wrapper for the common usage of threads_add_timeout_full assigning the default priority, DEFAULT.

See threads_add_timeout_full.

Parameters:

interval

the time between calls to the function, in milliseconds (1/1000ths of a second)

function

function to call

data

data to pass to function

Returns:

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


Namespace: Gdk
Package: gdk-3.0



2022 vala-language.org