The GMainLoop struct is an opaque data type representing the main event loop of a GLib or GTK application.
GMainLoop
Compare two proxy instances for equality. This will compare both the type of the instances, and their memory addresses.
Returns the struct@GLib.MainContext of @loop.
Checks to see if the main loop is currently being run via method@GLib.MainLoop.run.
Stops a struct@GLib.MainLoop from running. Any calls to method@GLib.MainLoop.run for the loop will return.
Increases the reference count on a struct@GLib.MainLoop object by one.
Runs a main loop until method@GLib.MainLoop.quit is called on the loop. If this is called for the thread of the loop's #GMainContext, it will process events from the loop, otherwise it will simply wait.
Decreases the reference count on a struct@GLib.MainLoop object by one. If the result is zero, free the loop and free all associated memory.