Main.getOptionGroup

Returns a glib.OptionGroup for the commandline arguments recognized by GTK+ and GDK.

You should add this group to your glib.OptionContext with OptionContext.addGroup, if you are using OptionContext.parse to parse your commandline arguments.

struct Main
static
getOptionGroup

Parameters

openDefaultDisplay bool

whether to open the default display when parsing the commandline arguments

Return Value

a glib.OptionGroup for the commandline arguments recognized by GTK+

Meta