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

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

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

See also

find-best-font
10 Dialogs: Prompting for Input


CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42