The <GMainLoop> struct is an opaque data type
representing the main event loop of a GLib or GTK application.
Returns the <GMainContext> of self.
Passed: a <GMainLoop>.
a main loop
Returned: a <GMainContext>.
the <GMainContext> of self
Checks to see if the main loop is currently being run via
main-loop:run.
Passed: a <GMainLoop>.
a main loop
Returned: a boolean.
true if the main loop is currently being run, false otherwise
Creates a new <GMainLoop> structure.
Passed: a <GMainContext>, or #f.
a main context (if NULL, the global-default main context will be
used).
Passed: a boolean.
set to true to indicate that the loop is running. This is not very
important since calling main-loop:run will
set this to true anyway.
Returned: a <GMainLoop>.
a new main loop
Stops a <GMainLoop> from running. Any calls to
main-loop:run for the loop will return.
Note that sources that have already been dispatched when
main-loop:quit is called will still be
executed.
Passed: a <GMainLoop>.
a main loop
Increases the reference count on a <GMainLoop>
object by one.
Passed: a <GMainLoop>.
a main loop
Returned: a <GMainLoop>.
self
Runs a main loop until main-loop:quit is
called on the loop.
If this is called from the thread of the loop’s
<GMainContext>, it will process events from
the loop, otherwise it will simply wait.
Passed: a <GMainLoop>.
a main loop
Decreases the reference count on a <GMainLoop>
object by one.
If the result is zero, the loop and all associated memory are freed.
Passed: a <GMainLoop>.
a main loop