MenuView

MenuView is a base implementation providing functionality to draw a menu. MenuView inherits from BoxView.

Default Bindings

Default key bindings are:

Table 1. Key
Command Description

CursorUp

Move selection up

CursorDown

Move selection down

Enter

Choose active item.

Default mouse bindings are:

Table 2. Mouse
Command Description

Wheel | WheelUp

Move selection up

Wheel | WheelDown

Move selection down

Released | Button1

Choose item

Events

Events report changes to the selected menu item and requests to open it.

Table 3. MenuView Events
Event Description

MenuViewOpenSelectedItemEvent

Active item is requested to get opened.

MenuViewSelectedItemChangedEvent

Active item is changed.