OptionGroup


Object Hierarchy:

GLib.OptionGroup GLib.OptionGroup GLib.OptionGroup

Description:

[ Compact ]
[ Version ( since = "2.44" ) ]
[ CCode ( ref_function = "g_option_group_ref" , type_id = "G_TYPE_OPTION_GROUP" , unref_function = "g_option_group_unref" ) ]
public class OptionGroup

A `GOptionGroup` 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 `GOptionGroup` holding their options, which the application can then add to its OptionContext.


Namespace: GLib
Package: glib-2.0

Content:

Creation methods:

Methods: