gtkRcPropertyParseColor: gtkRcPropertyParseColor

Description Usage Arguments Value Author(s)

View source: R/gtkFuncs.R

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

1
gtkRcPropertyParseColor(pspec, gstring)

Arguments

pspec

a GParamSpec

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.

Author(s)

Derived by RGtkGen from GTK+ documentation


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