Method

GtkColorSelectionset_current_color

deprecated: 3.4 

Declaration [src]

void
gtk_color_selection_set_current_color (
  GtkColorSelection* colorsel,
  const GdkColor* 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: 3.4

Use gtk_color_selection_set_current_rgba() instead.

Parameters

color

Type: GdkColor

A GdkColor to set the current color with.

The data is owned by the caller of the method.