add_group


Description:

public void add_group (owned OptionGroup group)

Adds a OptionGroup to the this, so that parsing with this will recognize the options in the group.

Note that the group will be freed together with the context when g_option_context_free is called, so you must not free the group yourself after adding it to a context.

Parameters:

this

a OptionContext

group

the group to add