ColorChooserDialog
Object Hierarchy:
Description:
[ CCode ( type_id = "gtk_color_chooser_dialog_get_type ()" ) ]
[ Version ( deprecated = true , deprecated_since = "4.10" ) ]
public sealed class ColorChooserDialog : Dialog, Accessible, Buildable, ColorChooser, ConstraintTarget, Native, Root, ShortcutManager
[ 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.
Note:
Use [class@Gtk.ColorDialog] instead
![An example GtkColorChooserDialog](colorchooser.png)
`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`.
Namespace: Gtk
Package: gtk4
Content:
Properties:
Creation methods:
Inherited Members:
All known members inherited from class Gtk.Dialog
All known members inherited from class Gtk.Window
All known members inherited from class Gtk.Widget
All known members inherited from class GLib.Object
All known members inherited from interface Gtk.Accessible
All known members inherited from interface Gtk.Buildable
All known members inherited from interface Gtk.ColorChooser
All known members inherited from interface Gtk.Native
All known members inherited from interface Gtk.Root
All known members inherited from interface Gtk.ShortcutManager