ColorChooserDialog


Object Hierarchy:

Gtk.ColorChooserDialog Gtk.ColorChooserDialog Gtk.ColorChooserDialog Gtk.Dialog Gtk.Dialog Gtk.Dialog->Gtk.ColorChooserDialog Gtk.Window Gtk.Window Gtk.Window->Gtk.Dialog Gtk.Widget Gtk.Widget Gtk.Widget->Gtk.Window GLib.InitiallyUnowned GLib.InitiallyUnowned GLib.InitiallyUnowned->Gtk.Widget GLib.Object GLib.Object GLib.Object->GLib.InitiallyUnowned Gtk.Accessible Gtk.Accessible Gtk.Accessible->Gtk.ColorChooserDialog Gtk.Accessible->Gtk.Dialog Gtk.Accessible->Gtk.Window Gtk.Accessible->Gtk.Widget Gtk.Buildable Gtk.Buildable Gtk.Buildable->Gtk.ColorChooserDialog Gtk.Buildable->Gtk.Dialog Gtk.Buildable->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.ConstraintTarget Gtk.ConstraintTarget Gtk.ConstraintTarget->Gtk.ColorChooserDialog Gtk.ConstraintTarget->Gtk.Dialog Gtk.ConstraintTarget->Gtk.Window Gtk.ConstraintTarget->Gtk.Widget Gtk.Native Gtk.Native Gtk.Native->Gtk.ColorChooserDialog Gtk.Native->Gtk.Dialog Gtk.Native->Gtk.Window Gtk.Root Gtk.Root Gtk.Root->Gtk.ColorChooserDialog Gtk.Root->Gtk.Dialog Gtk.Root->Gtk.Window Gtk.ShortcutManager Gtk.ShortcutManager Gtk.ShortcutManager->Gtk.ColorChooserDialog Gtk.ShortcutManager->Gtk.Dialog Gtk.ShortcutManager->Gtk.Window Gtk.ColorChooser Gtk.ColorChooser Gtk.ColorChooser->Gtk.ColorChooserDialog

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

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.Widget
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