Skip to main content

Variable: ColorChooserDialog

const ColorChooserDialog: "ColorChooserDialog"

Defined in: react/src/generated/jsx.ts:11389

A dialog for choosing a color.

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.