? context = null
is_running = false
Creates a new MainLoop structure.
a MainContext (if null, the global-default
main context will be used).
set to true to indicate that the loop is running. This is not very important since calling
run will set this to true anyway.