SourceFunc


Description:

public delegate bool SourceFunc ()

Specifies the type of function passed to g_timeout_add, add_full , g_idle_add, and add_full.

When calling set_callback, you may need to cast a function of a different type to this type. Use G_SOURCE_FUNC to avoid warnings about incompatible function types.

Parameters:

user_data

data passed to the function, set when the source was created with one of the above functions

Returns:

false if the source should be removed. g_source_continue and g_source_remove are more memorable names for the return value.


Namespace: GLib
Package: glib-2.0