CheckList

There are multiple entries presented in the form of a menu. Mixins: Uses mixin-templates $(DIALOG_REF2 Constructor)!"checklist" and $(DIALOG_REF2 ListBoxFunctional)!CheckList.

Members

Functions

getSelectedItems
string[] getSelectedItems()

This method provides access to the selected names of checklist items. Note: call after run() only.

Mixins

__anonymous
mixin ListBoxFunctional!CheckList
Undocumented in source.
__anonymous
mixin Constructor!"checklist"
Undocumented in source.

Mixed In Members

From mixin Constructor!"checklist"

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

Creates an object.

From mixin ListBoxFunctional!CheckList

addItem
T addItem(string tag, string descr, bool status)

Adds new item.

prepareCmd
string[] prepareCmd()
Undocumented in source. Be warned that the author may not have intended to support it.
run
void run()
Undocumented in source. Be warned that the author may not have intended to support it.
selectedItems
string[] selectedItems;
Undocumented in source.
items
Item[] items;
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