abstract class Dialog
Base class for all dialog user interface boxes.
dialog is a program used which displays text user interface widgets.
See Also:
this(string dialogType, string title, string text, uint h, uint w)
Base constructor for all dialog boxes.
Parameters
| dialogType | A box name (msgbox, calendar, checklist, menu, etc.) |
| title | A form name, a title for current box example. |
| text | Main message of the box (for description or clarification). |
| h | Height, number of lines. |
| w | Width, number of columns. |
void setButtonHandler(Action act, fn_t fn)
It is possible to assign callbacks to events such as pressing OK (or YES), NO (or CANCEL), ESC. ESC is always available.
Variables
| backtitle | Background title, can be used of an application name. |
Methods
| setBackTitle |
| getBackTitle |
| this |
| setButtonHandler |
| setText |
| run |