API ReferenceSandbox.UI
MenuBarclass
A row of menu headings - File, Edit, View. Click one to open it; once one is open, hovering another switches to it.
Constructors1
Showing 1 constructors
public MenuBar()
No results match this filter.
Methods9
Showing 9 methods
public void CloseAll()
Close whatever is open.
Returns:
void—public virtual void OnButtonTyped(Sandbox.UI.ButtonEvent e)
Left and right that an open menu didn't use move between the headings.
| Parameter | Type | Description |
|---|---|---|
| e | ButtonEvent | — |
Returns:
void—protected virtual void OnChildAdded(Sandbox.UI.Panel child)
| Parameter | Type | Description |
|---|---|---|
| child | Panel | — |
Returns:
void—protected virtual void OnChildRemoved(Sandbox.UI.Panel child)
| Parameter | Type | Description |
|---|---|---|
| child | Panel | — |
Returns:
void—protected virtual void OnClick(Sandbox.UI.MousePanelEvent e)
| Parameter | Type | Description |
|---|---|---|
| e | MousePanelEvent | — |
Returns:
void—protected virtual void OnMouseOver(Sandbox.UI.MousePanelEvent e)
Once a menu is open, sliding along the headings switches between them.
| Parameter | Type | Description |
|---|---|---|
| e | MousePanelEvent | — |
Returns:
void—No results match this filter.
Properties2
Showing 2 properties
No results match this filter.