ColorSelection.paletteFromString

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

class ColorSelection
static
bool
paletteFromString
(
string str
,)

Parameters

str string

a string encoding a color palette

colors gdk.color.Color[]

return location for allocated array of #GdkColor

Return Value

Type: bool

true if a palette was successfully parsed