Description
Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts
TheToolbars API provides facilities to work with the system or other toolbar.
See also the Tablet API for use of the system tablet and toolbar in desktop and HMD modes.
Methods
| Name | Return Value | Summary |
|---|---|---|
getToolbar
|
ToolbarProxy |
Gets an instance of a toolbar. A new toolbar is created if one with the specified name doesn't already exist. |
Signals
| Name | Summary |
|---|---|
toolbarVisibleChanged
|
Triggered when the visibility of a toolbar changes. |
Method Details
|
(static) getToolbar( name ) → {ToolbarProxy}
Returns: The toolbar instance. |
||||||
|---|---|---|---|---|---|---|
|
Gets an instance of a toolbar. A new toolbar is created if one with the specified name doesn't already exist. Parameters
|
Signal Details
|
toolbarVisibleChanged(
isVisible,
toolbarName
)
Returns: Signal |
|||||||||
|---|---|---|---|---|---|---|---|---|---|
|
Triggered when the visibility of a toolbar changes. Parameters
ExampleBriefly hide the system toolbar.
|