Skip to content

Vertical Menu View

A vertical menu view displays a list of items down a single column, similar to a lightbar. It is the most common menu view in ENiGMA½. Items are selected with the cursor keys, Page Up, Page Down, Home and End, or by a hotKey.

In addition to the common menu view properties, a vertical menu view accepts:

PropertyDescription
focusItemAtTopIf true, the focused item is kept at the top of the visible window as the user scrolls, rather than the list scrolling around it

A vertical menu scrolls when it has more items than height rows, so height determines how many items are visible at once.

Example

Configuration fragment (expand to view)
VM1: {
submit: true
argName: navSelect
items: [
{
text: login
data: login
}
{
text: apply
data: new user
}
{
text: about
data: about
}
{
text: log off
data: logoff
}
]
}