GLib.MainContext.new

function new(): GLib.MainContext {
    // Gjs wrapper for g_main_context_new()
}
  

Creates a new GLib.MainContext structure.

Returns

the new GLib.MainContext