All Manuals > CAPI User Guide and Reference Manual > 21 CAPI Reference Entries

NextPrevUpTopContentsIndex

prompt-for-color

Function
Summary

Presents a dialog box allowing the user to choose a color.

Package

capi

Signature

prompt-for-color message &key color colors owner => result, successp

Arguments

message

A string.

color

A color specification.

colors

A list.

owner

An owner window.

Values

result

A color specification, or nil.

successp

A boolean.

Description

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 Dialogs: Prompting for Input for details.

Notes

For a description of color specifications, see Color specs.

See also

Dialogs: Prompting for Input


CAPI User Guide and Reference Manual (Unix version) - 25 Feb 2015

NextPrevUpTopContentsIndex