new
Creates a new struct@GLib.MainLoop structure.
Return
a new #GMainLoop.
Parameters
context
a #GMainContext (if null, the global-default main context will be used).
isRunning
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.