system-alert ( caption text -- )


Vocabulary
ui

Inputs
captiona string
texta string


Outputs
None

Word description
Displays an application-modal alert dialog box with the given caption and text.

Notes
Since the window raised by this word is modal, all processing in all Factor threads will halt until the dialog is dismissed. In an application that makes full use of the UI framework, it would be more appropriate to display a pane gadget in a Factor window. This word is meant primarily to be used to display errors in deployed applications with minimal dependencies on the UI library, such as games.

Definition


Methods