class Pause : Dialog

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

this(string title = "", string text = "", uint h = 8, uint w = 48, uint t = 10)

Creates an object.

Parameters

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

t

time to countdown

void setTimeout(uint t)

Sets countdown.

Methods

this
setTimeout