getOptionGroup

Returns a #GOptionGroup for the commandline arguments recognized by GTK+ and GDK.

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

Parameters

openDefaultDisplay bool

whether to open the default display when parsing the commandline arguments

Return Value

Type: glib.option_group.OptionGroup

a #GOptionGroup for the commandline arguments recognized by GTK+