ColorButton.with_color


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
[ Version ( deprecated = true , deprecated_since = "3.4" , since = "2.4" ) ]
public ColorButton.with_color (Color color)

Warning: ColorButton.with_color is deprecated since 3.4.

Creates a new color button.

Note:

Use ColorButton.with_rgba instead.

Parameters:

color

A Color to set the current color with

Returns:

a new color button




2022 vala-language.org