Source
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( ref_function = "g_source_ref" , type_id = "G_TYPE_SOURCE" , unref_function = "g_source_unref" ) ]
public abstract class Source
Content:
Constants:
Static methods:
- public static bool remove (uint id)
Removes the source with the given ID from the default main context.
- public static bool remove_by_funcs_user_data (SourceFuncs funcs, void* user_data)
Removes a source from the default main loop context given the source
functions and user data.
- public static bool remove_by_user_data (void* user_data)
Removes a source from the default main loop context given the user
data for the callback.
- public static void set_name_by_id (uint tag, string? name)
Sets the name of a source using its ID.
Creation methods:
Methods: