Method

GtkColorButtonset_color

deprecated: Unknown since: 2.4

Declaration [src]

void
gtk_color_button_set_color (
  GtkColorButton* button,
  const GdkColor* color
)

Description [src]

Sets the current color to be color.

Available since: 2.4

Deprecated since: Unknown

Use gtk_color_chooser_set_rgba() instead.

Sets propertyGtk.ColorButton:color

Parameters

color

Type: GdkColor

A GdkColor to set the current color with.

The data is owned by the caller of the method.