ColorChooserDialog
Object Hierarchy:
Description:
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class ColorChooserDialog : Dialog, Accessible, Buildable, ColorChooser, ConstraintTarget, Native, Root, ShortcutManager
Warning: ColorChooserDialog is deprecated since 4.10.
A dialog for choosing a color.
Use [class@Gtk.ColorDialog] instead
<picture> <source srcset="colorchooser-dark.png" media="(prefers-color-scheme: dark)"> <img alt="An example GtkColorChooserDialog" src="colorchooser.png"> </picture>
`GtkColorChooserDialog` implements the [iface@Gtk.ColorChooser] interface and does not provide much API of its own.
To create a `GtkColorChooserDialog`, use [ctor@Gtk.ColorChooserDialog.new].
To change the initially selected color, use [method@Gtk.ColorChooser.set_rgba]. To get the selected color use [method@Gtk.ColorChooser.get_rgba ].
`GtkColorChooserDialog` has been deprecated in favor of [class@Gtk.ColorDialog].
CSS nodes
`GtkColorChooserDialog` has a single CSS node with the name `window` and style class `.colorchooser`.