Method

GtkColorButtonset_rgba

Declaration [src]

void
gtk_color_button_set_rgba (
  GtkColorButton* button,
  const GdkRGBA* rgba
)

Description [src]

Sets the current color to be rgba.

Available since:3.0
Deprecated since:3.4

Use gtk_color_chooser_set_rgba() instead.

This method is not directly available to language bindings.
Sets propertyGtk.ColorButton:rgba

Parameters

rgba

Type: GdkRGBA

A GdkRGBA to set the current color with.

The data is owned by the caller of the function.