Constructor
GtkColorButtonnew_with_color
deprecated: 3.4 since: 2.4
Declaration [src]
GtkWidget*
gtk_color_button_new_with_color (
const GdkColor* color
)
Description [src]
Creates a new color button.
Available since: 2.4
Deprecated since: 3.4
Use gtk_color_button_new_with_rgba()
instead.
Parameters
color
-
Type:
GdkColor
A
GdkColor
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. |