Main.getOptionGroup

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

You should add this group to your #GOptionContext with g_option_context_add_group(), if you are using g_option_context_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 #GOptionGroup for the commandline arguments recognized by GTK+

Meta