MainLoop

class MainLoop(context=None)
Constructors:

new(context:GLib.MainContext=None, is_running:bool) -> GLib.MainLoop

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’s MainContext, it will process events from the loop, otherwise it will simply wait.