gtk.color_chooser_dialog

Module for [ColorChooserDialog] class

Types 3

A dialog for choosing a color.

!An example GtkColorChooserDialog

[gtk.color_chooser_dialog.ColorChooserDialog] implements the [gtk.color_chooser.ColorChooser] interface and does not provide much API of its own.

To create a [gtk.color_chooser_dialog.ColorChooserDialog], use [gtk.color_chooser_dialog.ColorChooserDialog.new_].

To change the initially selected color, use [gtk.color_chooser.ColorChooser.setRgba]. To get the selected color use [gtk.color_chooser.ColorChooser.getRgba].

[gtk.color_chooser_dialog.ColorChooserDialog] has been deprecated in favor of [gtk.color_dialog.ColorDialog].

CSS nodes

[gtk.color_chooser_dialog.ColorChooserDialog] has a single CSS node with the name window and style class .colorchooser.

Deprecated

Use [gtk.color_dialog.ColorDialog] instead
Methods
GType _gType() @property
ColorChooserDialog self()Returns `this`, for use in `with` statements.
ColorChooserDialogGidBuilder builder()Get builder for [gtk.colorchooserdialog.ColorChooserDialog] Returns: New builder object
bool showEditor() @property
void showEditor(bool propval) @property
Constructors
this(void * ptr, Flag!"Take" take)
this(string title = null, gtk.window.Window parent = null)Creates a new [gtk.colorchooserdialog.ColorChooserDialog].

Fluent builder for [gtk.color_chooser_dialog.ColorChooserDialog]