Method

MateDesktopColorSelectionset_color

deprecated: 2.0 

Declaration [src]

void
mate_color_selection_set_color (
  MateColorSelection* colorsel,
  gdouble* color
)

Description [src]

Sets the current color to be color. The first time this is called, it will also set the original color to be color too.

Deprecated since: 2.0

Use mate_color_selection_set_current_color() instead.

Parameters

color

Type: gdouble*

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

The data is owned by the caller of the method.