get_colors


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "2.6" ) ]
public Color[] get_colors ()

Gets colors in the palette.

Returns an array of colors in the palette. Free the returned array with free.

Parameters:

this

The palette.

Returns:

The colors in the palette. The returned value must be freed with free.