Sets our main struct and passes it to the parent class.
Creates a new #GMainLoop structure.
Returns the #GMainContext of @loop.
Get the main Gtk struct
the main Gtk struct as a void*
Checks to see if the main loop is currently being run via g_main_loop_run().
Stops a #GMainLoop from running. Any calls to g_main_loop_run() for the loop will return.
Increases the reference count on a #GMainLoop object by one.
Runs a main loop until g_main_loop_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 #GMainLoop object by one. If the result is zero, free the loop and free all associated memory.
Returns the currently firing source for this thread.
Returns the depth of the stack of calls to g_main_context_dispatch() on any #GMainContext in the current thread. That is, when called from the toplevel, it gives 0. When called from within a callback from g_main_context_iteration() (or g_main_loop_run(), etc.) it returns 1. When called from within a callback to a recursive call to g_main_context_iteration(), it returns 2. And so forth.
Polls @fds, as with the poll() system call, but portably. (On systems that don't have poll(), it is emulated using select().) This is used internally by #GMainContext, but it can be called directly if you need to block until a file descriptor is ready, but don't want to run the full main loop.
The GMainLoop struct is an opaque data type representing the main event loop of a GLib or GTK+ application.