Glib.MainSourceThe Main Event Loop
Main loop handle
create is_running creates a new main loop. If is_running is true, the loop is immediately marked as running.
iteration may_block runs a single iteration of the main context. If may_block is true, the iteration can block waiting for events. Returns true if events were processed.
Returns true if events are pending in the main loop