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.)

Constructors

this
this(string title, string text, uint h, uint w, uint t)

Creates an object.

Members

Functions

prepareCmd
string[] prepareCmd()
Undocumented in source. Be warned that the author may not have intended to support it.
setTimeout
void setTimeout(uint t)

Sets countdown.

Variables

timeout
uint timeout;
Undocumented in source.

Inherited Members

From Dialog

setBackTitle
void setBackTitle(string btitle)

Sets the background title for dialog widgets.

getBackTitle
string getBackTitle()

Returns current background title.

baseCmd
auto baseCmd;
Undocumented in source.
callbacks
fn_t[Action] callbacks;
Undocumented in source.
title
string title;
Undocumented in source.
dialogType
string dialogType;
Undocumented in source.
text
string text;
Undocumented in source.
height
uint height;
width
uint width;
Undocumented in source.
setButtonHandler
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.

setText
void setText(string text)

Changes a box text.

prepareCmd
string[] prepareCmd()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()

Execution launch.

entry
string entry;
Undocumented in source.

Meta