gtkRcPropertyParseColor {RGtk2}R Documentation

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 [GParamSpec] a GParamSpec
gstring [character] 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 [R object] a R object which must hold GdkColor values.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]