GLib.Idle – glib-2.0 Reference Manual
Idle
Description:
public
namespace
Idle
Namespace:
GLib.Idle
Package:
glib-2.0
Content:
Methods:
public
uint
add
(
owned
SourceFunc
function,
int
priority =
DEFAULT_IDLE
)
public
uint
add_full
(
int
priority,
owned
SourceFunc
function)
Adds a function to be called whenever there are no higher priority events pending.
public
uint
add_once
(
SourceOnceFunc
function)
Adds a function to be called whenever there are no higher priority events pending to the default main loop.
public
bool
remove_by_data
(
void
* data)
Removes the idle function with the given data.
2022 vala-language.org