gtkRcPropertyParseEnum: gtkRcPropertyParseEnum

Description Usage Arguments Details Value Author(s)

View source: R/gtkFuncs.R

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


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.