MainLoop
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( ref_function = "g_main_loop_ref" , type_id = "G_TYPE_MAIN_LOOP" , unref_function = "g_main_loop_unref" ) ]
public class MainLoop
The `GMainLoop` struct is an opaque data type representing the main event loop of a GLib or GTK application.
Content:
Creation methods:
Methods:
- public unowned MainContext get_context ()
Returns the [struct@GLib.
- public bool is_running ()
Checks to see if the main loop is currently being run via [
method@GLib.
- public void quit ()
Stops a [struct@GLib.
- public void run ()
Runs a main loop until [method@GLib.