GLib.OptionGroup – glib-2.0 Reference Manual
Packages
glib-2.0
GLib
OptionGroup
OptionGroup
add_entries
set_error_hook
set_parse_hooks
set_translate_func
set_translation_domain
OptionGroup
Object Hierarchy:
Description:
[
Compact
]
[
Version
( since =
"2.6"
) ]
public
class
OptionGroup
Namespace:
GLib
Package:
glib-2.0
Content:
Creation methods:
public
OptionGroup
(
string
name,
string
description,
string
help_description,
void
* user_data =
null
,
DestroyNotify
? destroy =
null
)
Methods:
public
void
add_entries
(
OptionEntry
[] entries)
public
void
set_parse_hooks
(
OptionParseFunc
? pre_parse_func,
OptionParseFunc
? post_parse_hook)
public
void
set_error_hook
(
OptionErrorFunc
? error_func)
public
void
set_translate_func
(
owned
TranslateFunc
? func)
public
void
set_translation_domain
(
string
domain)