Description
Supported Script Types: Interface Scripts • Client Entity Scripts • Avatar Scripts
An instance of a toolbar.Retrieve an existing toolbar or create a new toolbar using Toolbars.getToolbar.
| Constructor |
|---|
new ToolbarProxy
|
Methods
| Name | Return Value | Summary |
|---|---|---|
addButton
|
object |
Currently doesn't work. Deprecated: This method is deprecated and will be removed. |
readProperties
|
object |
Gets the values of toolbar properties. |
readProperty
|
object |
Gets the value of a toolbar property. |
removeButton
|
None |
Currently doesn't work. Deprecated: This method is deprecated and will be removed. |
writeProperties
|
None |
Sets the values of toolbar properties. A property is added to the toolbar if a named property doesn't already exist. |
writeProperty
|
None |
Sets the value of a toolbar property. A property is added to the toolbar if the named property doesn't already exist. |
Method Details
|
addButton( properties ) → {object}
Returns: The button added. |
||||||
|---|---|---|---|---|---|---|
|
Currently doesn't work. Deprecated: This method is deprecated and will be removed. Parameters
|
|
readProperties( propertyList ) → {object}
Returns: The names and values of the specified properties. If the toolbar doesn't have a particular property then the result doesn't include that property. |
||||||
|---|---|---|---|---|---|---|
|
Gets the values of toolbar properties. Parameters
|
|
readProperty( propertyName ) → {object}
Returns: The value of the property if the property name is valid, otherwise undefined.
|
||||||
|---|---|---|---|---|---|---|
|
Gets the value of a toolbar property. Parameters
|
| removeButton( name ) | ||||||
|---|---|---|---|---|---|---|
|
Currently doesn't work. Deprecated: This method is deprecated and will be removed. Parameters
|
| writeProperties( properties ) | ||||||
|---|---|---|---|---|---|---|
|
Sets the values of toolbar properties. A property is added to the toolbar if a named property doesn't already exist. Parameters
|
| writeProperty( propertyValue ) | ||||||
|---|---|---|---|---|---|---|
|
Sets the value of a toolbar property. A property is added to the toolbar if the named property doesn't already exist. Parameters
|