Learn R Programming

RGtk2 (version 2.20.31)

gtkColorSelectionPaletteFromString: gtkColorSelectionPaletteFromString

Description

Parses a color palette string; the string is a colon-separated list of color names readable by gdkColorParse.

Usage

gtkColorSelectionPaletteFromString(str)

Arguments

str
a string encoding a color palette.

Value

A list containing the following elements:
retval
[logical] TRUE if a palette was successfully parsed.
colors
return location for allocated list of GdkColor.
n.colors
return location for length of list.