Package: gtk

Class gtk:color-dialog

Superclasses

gobject:object, common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

modal
The modal property of type :boolean (Read / Write)
Whether the color chooser dialog is modal.
Default value: true
title
The title property of type :string (Read / Write)
A title that may be shown on the color chooser dialog that is presented by the gtk:color-dialog-choose-rgba function.
Default value: nil
with-alpha
The with-alpha property of type :boolean (Read / Write)
Whether colors may have alpha (translucency). When with-alpha is false, the color that is selected will be forced to have alpha = 1.
Default value: true

Details

A gtk:color-dialog 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. This API follows the GIO async pattern, and the result can be obtained by calling the gtk:color-dialog-choose-rgba-finish function.

See the gtk:color-dialog-button widget for a convenient control that uses the gtk:color-dialog object and presents the results.

Since 4.10
 

Returned by

Slot Access Functions

Inherited Slot Access Functions

See also

2023-7-28