NextPrevUpTopContentsIndex

abort-dialog

Function
Summary

The abort-dialog function aborts the current dialog.

Package

capi

Signature

abort-dialog &rest ignored-args

Description

This function is used to abort the current dialog. For example, it can be made a selection callback from a Cancel button so that pressing the button aborts the dialog. In a similar manner the complementary function exit-dialog can be used as a callback for an OK button.

abort-dialog does nothing if there is no current dialog.

Example
(capi:display-dialog
  (capi:make-container
    (make-instance 'capi:push-button
                   :text "Cancel"
                   :callback 'capi:abort-dialog)
                   :title "Test Dialog"))

Also see the examples in the directory examples/capi/dialogs/ .

See also

exit-dialog
display-dialog
popup-confirmer
interface


LispWorks CAPI Reference Manual - 25 Jul 2006

NextPrevUpTopContentsIndex