ColorDialog


Object Hierarchy:

Gtk.ColorDialog Gtk.ColorDialog Gtk.ColorDialog GLib.Object GLib.Object GLib.Object->Gtk.ColorDialog

Description:

[ CCode ( type_id = "gtk_color_dialog_get_type ()" ) ]
[ Version ( since = "4.10" ) ]
public sealed class ColorDialog : Object

A `GtkColorDialog` object collects the arguments that are needed to present a color chooser dialog to the user, such as a title for the dialog and whether it should be modal.

The dialog is shown with the [method@Gtk.ColorDialog.choose_rgba] function. This API follows the GIO async pattern, and the result can be obtained by calling [method@Gtk.ColorDialog.choose_rgba_finish].

See [class@Gtk.ColorDialogButton] for a convenient control that uses `GtkColorDialog` and presents the results.


Namespace: Gtk
Package: gtk4

Content:

Properties:

Creation methods:

Methods:

Inherited Members: