ColorSelection.setColor

Warning gtk_color_selection_set_color has been deprecated since version 2.0 and should not be used in newly-written code. Use gtk_color_selection_set_current_color() instead. Sets the current color to be color. The first time this is called, it will also set the original color to be color too.

class ColorSelection
void
setColor
(
double[] color
)

Parameters

color double[]

an array of 4 doubles specifying the red, green, blue and opacity to set the current color to.

Meta