Constructor

GtkColorButtonnew_with_rgba

deprecated: 4.10 

Declaration [src]

GtkWidget*
gtk_color_button_new_with_rgba (
  const GdkRGBA* rgba
)

Description [src]

Creates a new color button showing the given color.

Deprecated since: 4.10

Please do not use it in newly written code.

Parameters

rgba

Type: GdkRGBA

A GdkRGBA to set the current color with.

The data is owned by the caller of the function.

Return value

Type: GtkWidget

A new color button.

The data is owned by the called function.