Class MenuBar
A menu bar for your application.
Inherited Members
Namespace: Terminal.Gui
Assembly: Terminal.Gui.dll
Syntax
public class MenuBar : Terminal.Gui.View
Constructors
MenuBar(MenuBarItem[])
Initializes a new instance of the MenuBar class with the specified set of toplevel menu items.
Declaration
public MenuBar (Terminal.Gui.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.Gui.MenuBarItem[] Menus { get; set; }
Property Value
| Type | Description |
|---|---|
| MenuBarItem[] | The menu array. |
Methods
MouseEvent(MouseEvent)
Declaration
public override bool MouseEvent (Terminal.Gui.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.Gui.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.Gui.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.Gui.Rect region);
Parameters
| Type | Name | Description |
|---|---|---|
| Rect | region | To be added. |