gtkRcPropertyParseEnum

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.