Package: glib

Function glib:option-group-new

Lambda List

glib:option-group-new (name description help)

Arguments

name -- a string for 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 for 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 -- a string for a description of 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

2025-05-22