getOptionGroup

fnglib.option_group.OptionGroup getOptionGroup(bool openDefaultDisplay)

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

openDefaultDisplaywhether to open the default display when parsing the commandline arguments

Returns

a #GOptionGroup for the commandline

arguments recognized by GTK+