Function
GtkRcPropertyparse_enum
Declaration [src]
gboolean
gtk_rc_property_parse_enum (
const GParamSpec* pspec,
const GString* gstring,
GValue* property_value
)
Description [src]
A GtkRcPropertyParser for use with gtk_settings_install_property_parser()
or gtk_widget_class_install_style_property_parser() which parses a single
enumeration value.
The enumeration value can be specified by its name, its nickname or its numeric value. For consistency with flags parsing, the value may be surrounded by parentheses.
Parameters
pspec-
Type:
GParamSpecA
GParamSpec.The data is owned by the caller of the function. gstring-
Type:
GStringThe
GStringto be parsed.The data is owned by the caller of the function. property_value-
Type:
GValueA
GValuewhich must hold enum values.The data is owned by the caller of the function.