ColorButton


Description:

[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public ColorButton ()

Creates a new color button.

Note:

Use [class@Gtk.ColorDialogButton] instead

This returns a widget in the form of a small button containing a swatch representing the current selected color. When the button is clicked, a color chooser dialog will open, allowing the user to select a color. The swatch will be updated to reflect the new color when the user finishes.

Returns:

a new color button