Package org.gnome.gtk

Class ColorButton

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, Buildable, ColorChooser, ConstraintTarget

@Generated("io.github.jwharm.JavaGI") @Deprecated public class ColorButton extends Widget implements Accessible, Buildable, ColorChooser, ConstraintTarget
Deprecated.
The GtkColorButton allows to open a color chooser dialog to change the color.

An example GtkColorButton

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

CSS nodes


 colorbutton
 ╰── button.color
     ╰── [content]
 

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