MainLoop
Description:
Creates a new [struct@GLib.
MainLoop] structure.
Parameters:
| context |
a main context (if `NULL`, the global-default main context will be used). |
| is_running |
set to true to indicate that the loop is running. This is not very important since calling [method@GLib.MainLoop.run] will set this to true anyway. |
Returns:
|
a new main loop |