MainContext.newWithFlags

Creates a new #GMainContext structure.

Parameters

flags glib.types.MainContextFlags

a bitwise-OR combination of #GMainContextFlags flags that can only be set at creation time.

Return Value

Type: glib.main_context.MainContext

the new #GMainContext