RGtk2 (version 2.20.31)

gtkRcPropertyParseEnum: gtkRcPropertyParseEnum

Description

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

Usage

gtkRcPropertyParseEnum(pspec, gstring)

Arguments

pspec
gstring
the character to be parsed

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.

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.