
Gnome::Gtk4::ColorChooserDialog
Description
A dialog for choosing a color.

Gnome::Gtk4::ColorChooserDialog implements the Gnome::Gtk4::R-ColorChooser interface and does not provide much API of its own.
To create a Gnome::Gtk4::ColorChooserDialog, use .newcolorchooserdialog()
.
To change the initially selected color, use .set-rgba() in class Gnome::Gtk4::R-ColorChooser
. To get the selected color use .get-rgba() in class Gnome::Gtk4::R-ColorChooser
.
Gnome::Gtk4::ColorChooserDialog has been deprecated in favor of Gnome::Gtk4::ColorDialog.
CSS nodes
Gnome::Gtk4::ColorChooserDialog has a single CSS node with the name window and style class `.colorchooser`.
Class initialization
Note: The native version of this class is deprecated in gtk4-lib() since version 4.10
new
:native-object
Create an object using a native object from elsewhere. See also Gnome::N::TopLevelSupportClass.
multi method new ( N-Object :$native-object! )
new-colorchooserdialog
Note: The native version of this routine is deprecated in gtk4-lib() since version 4.10
Creates a new Gnome::Gtk4::ColorChooserDialog.
method new-colorchooserdialog ( Str $title, N-Object() $parent --> Gnome::Gtk4::ColorChooserDialog \)
$title; Title of the dialog.
$parent; Transient parent of the dialog.