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 Motif/Lesstif. On 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.

For a description of color specifications, see the "The Color System" chapter in the LispWorks CAPI User Guide .

owner specifies an owner window for the dialog. See the "Prompting for Input" chapter in the LispWorks CAPI User Guide for details.


LispWorks CAPI Reference Manual - 11 Apr 2005

NextPrevUpTopContentsIndex