messagebox
1.0.0A library to show a native message box dialog.
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.
System Information
Definition Index
-
ORG.SHIRAKUMO.MESSAGEBOX
No documentation provided.-
EXTERNAL FUNCTION SHOW
- TEXT
- &REST
- ARGS
- &KEY
- TITLE
- TYPE
- MODAL
- &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 backend fails or no suitable backend is present, the dialog is shown on *ERROR-OUTPUT*. 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. This function should not error. Returns :OK, :YES, :NO, or :CANCEL. :YES and :NO can only be returned if the TYPE is :QUESTION.
-