Presents a dialog box allowing the user to choose a font.
capi
prompt-for-font message &key font owner => result, successp
message⇩ |
A string. |
font⇩ |
A font, a font description, or nil . |
owner⇩ |
An owner window, or nil . |
result |
A font, or nil . |
successp |
A boolean. |
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.
CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:27