Presents a dialog box allowing the user to choose a color.
capi
prompt-for-color message &key color colors owner => result, successp
message⇩ |
A string. |
color⇩ |
A color specification. |
colors⇩ |
A list. |
owner⇩ |
An owner window. |
result |
A color specification, or nil . |
successp |
A boolean. |
The function prompt-for-color
pops up a dialog box allowing the user to choose a color.
message supplies a title for the dialog on GTK+ and Motif. On Microsoft Windows message is ignored.
color provides the default color in the dialog.
colors is a list of custom color specifications that the user can choose from.
owner specifies an owner window for the dialog. See 10 Dialogs: Prompting for Input for details.
For a description of color specifications, see 15.1 Color specs.
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42