:right-sidebar: True MainContextFlags =================================================================== .. currentmodule:: gi.repository.GLib .. versionadded:: 2.72 .. class:: MainContextFlags :no-contents-entry: Flags to pass to :func:`~gi.repository.GLib.MainContext.new_with_flags` which affect the behaviour of a :obj:`~gi.repository.GLib.MainContext`. Fields ------ .. rst-class:: interim-class .. class:: MainContextFlags :no-index: .. attribute:: NONE Default behaviour. .. attribute:: OWNERLESS_POLLING Assume that polling for events will free the thread to process other jobs. That's useful if you're using ```g_main_context_``{prepare,query,check,dispatch}` to integrate GMainContext in other event loops.