ColorSelection.paletteFromString

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

class ColorSelection
static
bool
paletteFromString
(
string str
,)

Parameters

str string

a string encoding a color palette

colors Color[]

return location for allocated array of gdk.Color

Return Value

Type: bool

TRUE if a palette was successfully parsed