Method

GtkColorButtonget_color

deprecated: 3.4 since: 2.4

Declaration [src]

void
gtk_color_button_get_color (
  GtkColorButton* button,
  GdkColor* color
)

Description [src]

Sets color to be the current color in the GtkColorButton widget.

Available since: 2.4

Deprecated since: 3.4

Use gtk_color_chooser_get_rgba() instead.

Gets propertyGtk.ColorButton:color

Parameters

color

Type: GdkColor

A GdkColor to fill in with the current color.

The argument will be set by the function.
The returned data is owned by the instance.