class MenuEvent

Describes a menu input event in the Console.

Implements interface InputEvent. This event is sent to the console's input queue, when the user selects an item from the console menu. At present, the Console class doesn't support menus.

Inheritance

class MenuEvent : InputEvent

Properties

int CommandId ()Returns the command ID number of the selected menu item.
int EventType ()Returns the type number of this event.

Reference

accessor int CommandId ()

Returns the command ID number of the selected menu item.


accessor int EventType ()

Returns the type number of this event.

Inherited from InputEvent. Possible values are: Console::FocusEventType, Console::KeyEventType, Console::MenuEventType, Console::MouseEventType, Console::WindowBufferSizeEventType.