class Menu : Dialog

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

Mixins

Uses mixin-template $(DIALOG_REF2 Constructor)!"menu".

Menu addItem(string tag, string description, fn_t fn = null)

Adds new item in menu.

void setItemHandler(string tag, fn_t fn)

Assign a callback to a specific menu item.