GLib.MainLoop.run (original) (raw)

GLib

API Version: 2.0

Library Version: 2.85.1

Type

MainLoop

Methods

get_context is_running quit ref run unref

Generated by gi-docgen 2024.1

Method

GLibMainLooprun

Declaration [src]


void
g_main_loop_run (
  GMainLoop* loop
)

Description [src]

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.