gtkRcPropertyParseEnum: gtkRcPropertyParseEnum

Description

A GtkRcPropertyParser for use with gtkSettingsInstallPropertyParser or gtkWidgetClassInstallStylePropertyParser which parses a single enumeration value.

Usage

1
gtkRcPropertyParseEnum(pspec, gstring)

Arguments

pspec

a GParamSpec

gstring

the character to be parsed

Details

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.

Value

A list containing the following elements:

retval

[logical] TRUE if gstring could be parsed and property.value has been set to the resulting GEnumValue.

property.value

a R object which must hold enum values.

Author(s)

Derived by RGtkGen from GTK+ documentation


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.