GLib.MainLoop
const GLib = imports.gi.GLib; let mainLoop = new GLib.MainLoop(context: GLib.MainContext, is_running: Boolean);
The <structname>GMainLoop</structname> struct is an opaque data type representing the main event loop of a GLib or GTK+ application.