messagebox
1.0.0A library to show a native message box dialog.
Table of Contents
About Messagebox
This is a small library to display a native GUI message box. This can be useful to show error messages and other informational pieces should the application fail and be unable to do so using its standard UI.
How To
Simply call show:
(org.shirakumo.messagebox:show "Hello there!" :title "Wow!")
(org.shirakumo.messagebox:show "Doing good?" :type :question)
The returned value will be :OK, :CANCEL, :YES, or :NO depending on the type of box.
Supported Backends
The following box backends are currently supported:
System Information
Definition Index
-
ORG.SHIRAKUMO.MESSAGEBOX.NXGL
No documentation provided. -
ORG.SHIRAKUMO.MESSAGEBOX
No documentation provided.-
EXTERNAL SPECIAL-VARIABLE *DEFAULT-BACKEND*
No documentation provided. -
EXTERNAL CONDITION MESSAGEBOX-FAILED
Error signalled when the messagebox fails to be shown. See SHOW
-
EXTERNAL CONDITION NO-BACKEND-FOUND
Error signalled if no suitable backend can be found at all. See MESSAGEBOX-FAILED
-
EXTERNAL FUNCTION DETERMINE-DEFAULT-BACKEND
No documentation provided. -
EXTERNAL FUNCTION SHOW
- TEXT
- &REST
- ARGS
- &KEY
- TITLE
- TYPE
- MODAL
- BACKEND
- &ALLOW-OTHER-KEYS
Show a message box dialog. TEXT --- The primary text to display. TITLE --- The title to show on the message box window. TYPE --- What kind of message to display. Should be one of :info :error :warning :question MODAL --- Whether the dialog should be modal to the application May not make a difference on some systems. If the dialog fails to show, an error of type MESSAGEBOX-FAILED is signalled. Depending on the backend further options may be supported. Do note that some systems might not show long text well. You should thus avoid trying to do things such as displaying stack traces using this function. It is instead recommended to write relevant debug information to a file and refer to this file in the displayed message. Returns :OK, :YES, :NO, or :CANCEL. :YES and :NO can only be returned if the TYPE is :QUESTION. See MESSAGEBOX-FAILED
-
-
ORG.SHIRAKUMO.MESSAGEBOX.KDIALOG
No documentation provided. -
ORG.SHIRAKUMO.MESSAGEBOX.MACOS
No documentation provided. -
ORG.SHIRAKUMO.MESSAGEBOX.ZENITY
No documentation provided. -
ORG.SHIRAKUMO.MESSAGEBOX.WIN32
No documentation provided.