Package: glib

Function g-option-context-add-group

Lambda List

g-option-context-add-group (context group)

Arguments

context -- a g-option-context instance
group -- the g-option-group instance to add

Details

Adds a g-option-group instance to context, so that parsing with context will recognize the options in the group. Note that the group will be freed together with the option context when the function g-option-context-free is called, so you must not free the group yourself after adding it to an option context.
 

See also

2021-8-11