Companion
object Companion
Functions
Link copied to clipboard
Creates a new struct@GLib.Source structure. The size is specified to allow creating structures derived from struct@GLib.Source that contain additional data. The size passed in must be at least sizeof (GSource)
.
Link copied to clipboard
fun removeByFuncsUserData(funcs: SourceFuncs, userData: <Error class: unknown class>? = null): Boolean
Removes a source from the default main loop context given the source functions and user data. If multiple sources exist with the same source functions and user data, only one will be destroyed.
Link copied to clipboard
Removes a source from the default main loop context given the user data for the callback. If multiple sources exist with the same user data, only one will be destroyed.
Link copied to clipboard
Sets the name of a source using its ID.