Settings.rcPropertyParseColor

A GtkRcPropertyParser for use with gtk_settings_install_property_parser() or gtk_widget_class_install_style_property_parser() 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.

class Settings
static
int
rcPropertyParseColor

Parameters

pspec ParamSpec

a GParamSpec

gstring StringG

the GString to be parsed

propertyValue Value

a GValue which must hold GdkColor values.

Return Value

Type: int

TRUE if gstring could be parsed and property_value has been set to the resulting GdkColor.

Meta