MainContext.with_flags


Description:

[ Version ( since = "2.72" ) ]
public MainContext.with_flags (MainContextFlags flags)

Creates a new [struct@GLib.

MainContext] structure.

Parameters:

flags

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

Returns:

the new main context