Package: glib
Macro glib:with-option-group
Lambda Listglib:with-option-group ((group &rest args) &body body) Syntax(g:with-option-group (group name description help-description) body) => result Argumentsgroup -- a g:option-group instance to create and initialize name -- a string with the name for the option group description -- a string with a description for this option group to be shown in --help output help-description -- a string with a description for the --help-name option Details The g:with-option-group macro allocates a new g:option-group
instance, initializes the option group with the given arguments and executes
the body that uses the option group.
After execution of the body the allocated memory for the option group is released. See the documentation of the g:option-group-new function for
more information about the initialization of the new option group. | See also |
2024-11-19