palette_from_string

function palette_from_string(str:String):Boolean {
    // Gjs wrapper for gtk_color_selection_palette_from_string()
}

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

str

a string encoding a color palette

Returns

true if a palette was successfully parsed