All Manuals > CAPI Reference Manual > 1 CAPI Reference Entries

NextPrevUpTopContentsIndex

prompt-with-message

Function
Summary

Prompts the user to select an item or items from a choice.

Package

capi

Signature

prompt-with-message message &key owner continuation

Arguments

message

A string.

owner

An owner window, or nil .

continuation

A function or nil .

Description

The function prompt-with-message displays message in a dialog owned by owner .

If continuation is non-nil, then it must be a function with a lambda list that accepts two arguments. The continuation function is called with the values that would normally be returned by prompt-with-message . On Cocoa, passing continuation causes the dialog to be made as a window-modal sheet and prompt-with-message returns immediately, leaving the dialog on the screen. The with-dialog-results macro provides a convenient way to create a continuation function.

Example
(capi:prompt-with-message
  "No items were deleted.")
See also

display-message-for-pane
display-message


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex