Package org.gnome.gtk

Class ColorChooserDialog

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

@Generated("io.github.jwharm.JavaGI") @Deprecated public class ColorChooserDialog extends Dialog implements Accessible, Buildable, ColorChooser, ConstraintTarget, Native, Root, ShortcutManager
Deprecated.
A dialog for choosing a color.

<picture> <source srcset="colorchooser-dark.png" media="(prefers-color-scheme: dark)"> <img alt="An example GtkColorChooserDialog" src="colorchooser.png"> </picture>

GtkColorChooserDialog implements the ColorChooser interface and does not provide much API of its own.

To create a GtkColorChooserDialog, use ColorChooserDialog().

To change the initially selected color, use ColorChooser.setRgba(org.gnome.gdk.RGBA). To get the selected color use ColorChooser.getRgba(org.gnome.gdk.RGBA).

GtkColorChooserDialog has been deprecated in favor of ColorDialog.

CSS nodes
GtkColorChooserDialog has a single CSS node with the name window and style class .colorchooser.