This class represents a dialog that shows a single or multi-line message,
with a choice of OK, Yes, No and Cancel buttons.
Constructor. Use MessageDialog#show_modal to show the dialog.
OK | Show an OK button. |
CANCEL | Show a Cancel button. |
YES_NO | Show Yes and No buttons. |
YES_DEFAULT | Used with YES_NO, makes Yes button the default – which is the default behaviour. |
NO_DEFAULT | Used with YES_NO, makes No button the default. |
ICON_EXCLAMATION | Shows an exclamation mark icon. |
ICON_HAND | Shows an error icon. |
ICON_ERROR | Shows an error icon – the same as ICON_HAND. |
ICON_QUESTION | Shows a question mark icon. |
ICON_INFORMATION | Shows an information (i) icon. |
STAY_ON_TOP | The message box stays on top of all other window, even those of the other applications (Windows only). |
Destructor.
Shows the dialog, returning one of ID_OK, ID_CANCEL, ID_YES, ID_NO.
[This page automatically generated from the Textile source at 2023-06-13 21:31:33 +0000]