MainLoop#
- class MainLoop(context=None)#
The GMainLoop
struct is an opaque data type
representing the main event loop of a GLib or GTK application.
Methods#
- class MainLoop
- run()#
Runs a main loop until
quit
is called on the loop. If this is called for the thread of the loop’sMainContext
, it will process events from the loop, otherwise it will simply wait.