GLib.MainContext.prototype.ref
function ref(): GLib.MainContext {
// Gjs wrapper for g_main_context_ref()
}
Increases the reference count on a GLib.MainContext object by one.
- Returns
the context that was passed in (since 2.6)
function ref(): GLib.MainContext {
// Gjs wrapper for g_main_context_ref()
}
Increases the reference count on a GLib.MainContext object by one.
the context that was passed in (since 2.6)