Wrapper for the "dialog" utility for pseudo-graphic user interface.

Public imports

Enums

DialogAction

Enuration for actions in dialog boxes.

Classes

Dialog

Base class for all dialog user interface boxes.

YesNo

A yes/no dialog box.

MsgBox

A message box has only a single OK button.

InfoBox

A info box has no buttons and closes after a specified time interval.

InputBox

An input box is useful when you want to ask questions that require the user to input a string as the answer (description taken from man dialog). Provides a field for entering text.

PasswordBox

A password box is similar to an input box, except that the text the user enters is not displayed.

CheckList

There are multiple entries presented in the form of a menu.

RadioList

Provides a list to select one item.

BuildList

A buildlist dialog displays two lists, side-by-side. The list on the left shows unselected items. The list on the right shows selected items. As items are selected or unselected, they move between the lists. (Description taken from man dialog.)

Menu

A dialog box that can be used to present a list of choices in the form of a menu for the user to choose (description taken from man dialog).

Calendar

A calendar box displays month, day and year in separately adjustable windows.

TimeBox

A dialog is displayed which allows you to select hour, minute and second.

FSelect

FSelect displays a text-entry window in which you can type a filename (or directory), and above that - two windows with directory names and filenames (description taken from man dialog, the --fselect section).

DSelect

DSelect displays a text-entry window in which you can type a directory, and above that - a window with directory names (description taken from man dialog, the --dselect section).

RangeBox

Allow the user to select from a range of values, e.g., using a slider.

Pause

A pause box displays a meter along the bottom of the box. The meter indicates how many seconds remain until the end of the pause. This box exits when timeout is reached or the user presses the OK button (status OK) or the user presses the CANCEL button or Esc key. (Description taken from man dialog.)

TextBox

A text box lets you display the contents of a text file in a dialog box. It is like a simple text file viewer. (Description taken from man dialog.)

EditBox

This window displays a copy of the file for editing. After editing, changed file content will be saved in this object.

DialogException

Base exception for the dialog module.

RepeatedItem

Exception for list-based dialog boxes. Thrown if an attempt was made to add an item with a duplicate tag.

BadWindowSize

Thrown if a dialog window cannot be created.

Templates

Constructor

Template with simplified constructor for many dialog classes.

DateTimeConstructor

Template with constructor for Calendar and TimeBox.

ListBoxFunctional

Template contains methods for CheckList, RadioList, BuildList.

FileBox

Template contains methods for template FileSystemBox and for classes EditBox and TextBox.

FileSystemBox

Template with base implementation of methods for FSelect, DSelect.