Method

GtkColorButtonget_color

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 data is owned by the caller of the function.