Package: glib

Function g-option-group-new

Lambda List

g-option-group-new (name description help-description)

Arguments

name -- a string with the name for the option group, this is used to provide help for the options in this group with the --help-name option
description -- a string with a description for this group to be shown in --help output, this string is translated using the translation domain or translation function of the group
help-description -- a string with a description for the --help-name option, this string is translated using the translation domain or translation function of the group

Return Value

A newly created option group. It should be added to a g-option-context instance or freed with the function g-option-group-unref.

Details

Creates a new g-option-group instance.
 

See also

2021-8-11