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
int
paletteFromString
(
string str
,)

Parameters

str string

a string encoding a color palette.

colors GdkColor[]

return location for allocated array of GdkColor. out[array length=n_colors]

Return Value

Type: int

TRUE if a palette was successfully parsed.

Meta