ColorSelection.paletteFromString

Parses a color palette string; the string is a colon-separated list of color names readable by gdk_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 #GdkColor

Return Value

Type: bool

%TRUE if a palette was successfully parsed

Meta