Learn R Programming

RGtk2 (version 2.20.31)

gtkRcPropertyParseColor: gtkRcPropertyParseColor

Description

A GtkRcPropertyParser for use with gtkSettingsInstallPropertyParser or gtkWidgetClassInstallStylePropertyParser which parses a color given either by its name or in the form { red, green, blue } where red, green and blue are integers between 0 and 65535 or floating-point numbers between 0 and 1.

Usage

gtkRcPropertyParseColor(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 GdkColor.
property.value
a R object which must hold GdkColor values.