threads_add_idle


Description:


[ Version ( since = "2.12" ) ]
public uint threads_add_idle (SourceFunc function)

A wrapper for the common usage of threads_add_idle_full assigning the default priority, DEFAULT_IDLE.

See threads_add_idle_full.

Parameters:

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