Package: glib

Function glib:option-group-new

Lambda List

glib: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

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

Details

Creates a new g:option-group instance.
 

See also

2024-11-19