OptionContext.getMainGroup

Returns a pointer to the main group of context.

class OptionContext
getMainGroup
()

Return Value

Type: glib.option_group.OptionGroup

the main group of context, or null if context doesn't have a main group. Note that group belongs to context and should not be modified or freed.