Since 2.6add_Adds the options specified in entries to group.
a null-terminated array of GOptionEntrys
Deprecated 2.44Since 2.6freeFrees a GLib.OptionGroup. Note that you must not free groups which have been added to a GLib.OptionContext.
Since 2.44refIncrements the reference count of group by one.
Since 2.6set_Sets the function which is used to translate user-visible strings,
for --help output. Different groups can use different
GTranslateFuncs. If func is null, strings are not translated.
If you are using gettext(), you only need to set the translation
domain, see g_option_group_set_translation_domain().
the GLib.TranslateFunc, or null
Since 2.6set_Since 2.44unrefStaticnew
A GLib.OptionGroup struct defines the options in a single group. The struct has only private fields and should not be directly accessed.
All options in a group share the same translation function. Libraries which need to parse commandline options are expected to provide a function for getting a GLib.OptionGroup holding their options, which the application can then add to its GLib.OptionContext.