y-or-n-dialog

Function

Package: common-graphics

Arguments: &optional format-string &rest args

Implements a y-or-n-p prompt by popping up a modal dialog with Yes and No buttons. format-string and args are printed (as if with format) in the dialog, typically explaining what choice the user is making. t is returned if the user clicks Yes, nil if the user clicks No.

The position of the dialog when displayed is controlled by position-utility-dialog.

See also yes-no-or-cancel-list.

Common Graphics and IDE documentation is described in About Common Graphics and IDE documentation in cgide.htm.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.