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

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

For a description of Graphics Ports fonts and font descriptions, see Portable font descriptions.

See also

find-best-font
Dialogs: Prompting for Input


CAPI User Guide and Reference Manual (Macintosh version) - 3 Aug 2017

NextPrevUpTopContentsIndex