Class MenuBar
A menu bar for your application.
Inherited Members
Namespace: Terminal
Assembly: Terminal.dll
Syntax
public class MenuBar : Terminal.View
Constructors
MenuBar(MenuBarItem[])
Initializes a new instance of the MenuBar class with the specified set of toplevel menu items.
Declaration
public MenuBar (Terminal.MenuBarItem[] menus);
Parameters
Type | Name | Description |
---|---|---|
MenuBarItem[] | menus | Menus. |
Properties
Menus
The menus that were defined when the menubar was created. This can be updated if the menu is not currently visible.
Declaration
public Terminal.MenuBarItem[] Menus { get; set; }
Property Value
Type | Description |
---|---|
MenuBarItem[] | The menu array. |
Methods
MouseEvent(MouseEvent)
Declaration
public override bool MouseEvent (Terminal.MouseEvent me);
Parameters
Type | Name | Description |
---|---|---|
MouseEvent | me | To be added. |
Returns
Type | Description |
---|---|
System.Boolean | To be added. |
PositionCursor()
Declaration
public override void PositionCursor ();
ProcessHotKey(KeyEvent)
Declaration
public override bool ProcessHotKey (Terminal.KeyEvent kb);
Parameters
Type | Name | Description |
---|---|---|
KeyEvent | kb | To be added. |
Returns
Type | Description |
---|---|
System.Boolean | To be added. |
ProcessKey(KeyEvent)
Declaration
public override bool ProcessKey (Terminal.KeyEvent kb);
Parameters
Type | Name | Description |
---|---|---|
KeyEvent | kb | To be added. |
Returns
Type | Description |
---|---|
System.Boolean | To be added. |
Redraw(Rect)
Declaration
public override void Redraw (Terminal.Rect region);
Parameters
Type | Name | Description |
---|---|---|
Rect | region | To be added. |