Class
GtkColorDialog
since: 4.10
Description [src]
final class Gtk.ColorDialog : GObject.Object
{
/* No available fields */
}
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 gtk_color_dialog_choose_rgba()
function.
See GtkColorDialogButton
for a convenient control
that uses GtkColorDialog
and presents the results.
Available since: 4.10
Instance methods
gtk_color_dialog_choose_rgba
This function initiates a color choice operation by presenting a color chooser dialog to the user.
since: 4.10
gtk_color_dialog_choose_rgba_finish
Finishes the gtk_color_dialog_choose_rgba()
call and
returns the resulting color.
since: 4.10
gtk_color_dialog_get_modal
Returns whether the color chooser dialog blocks interaction with the parent window while it is presented.
since: 4.10
gtk_color_dialog_get_title
Returns the title that will be shown on the color chooser dialog.
since: 4.10
gtk_color_dialog_set_modal
Sets whether the color chooser dialog blocks interaction with the parent window while it is presented.
since: 4.10
gtk_color_dialog_set_title
Sets the title that will be shown on the color chooser dialog.
since: 4.10
Properties
Gtk.ColorDialog:title
A title that may be shown on the color chooser
dialog that is presented by gtk_color_dialog_choose_rgba()
.
since: 4.10
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.