ColorButton


Object Hierarchy:

Object hierarchy for ColorButton

Description:

[ CCode ( type_id = "gtk_color_button_get_type ()" ) ]
public class ColorButton : Widget, Accessible, Buildable, ColorChooser, ConstraintTarget

The ColorButton is a button which displays the currently selected color and allows to open a color selection dialog to change the color.

It is suitable widget for selecting a color in a preference dialog.

CSS nodes

GtkColorButton has a single CSS node with name button. To differentiate it from a plain Button , it gets the .color style class.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Signals:

Inherited Members:

All known members inherited from class Gtk.Widget
All known members inherited from interface Gtk.ColorChooser