NextPrevUpTopContentsIndex

prompt-for-font

Function
Summary

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

Package

capi

Signature

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

Arguments

message

A string.

font

A font, a font description, or nil .

owner

An owner window, or nil .

Values

result

A font, or nil .

successp

A boolean.

Description

The function prompt-for-font displays a dialog box allowing the user to choose a font.

message supplies a title for the dialog.

font , if non- nil , provides defaults for the dialog box. The default value is nil .

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

For a description of Graphics Ports fonts and font descriptions, see the LispWorks CAPI User Guide .

See also

find-best-font


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex