Class
PluginToolbar
NotCreatable
A toolbar created by Plugin:CreateToolbar() that groups
PluginToolbarButtons in the Studio ribbon.
A PluginToolbar object is created by calling the
Plugin:CreateToolbar() method and is used to contain
PluginToolbarButtons.
Methods 1#
| CreateButton | Creates a PluginToolbarButton that allows the user to initiate a
single, one-off action in Studio.PluginSecurity security |
CreateButton(buttonId: string, tooltip: string, iconname: string, text: string): PluginToolbarButton#
PluginSecurity security
Creates a PluginToolbarButton that allows the user to initiate a
single, one-off action in Studio through its
Click event.
| Name | Type | Default | Description |
|---|---|---|---|
buttonId | string | A unique button ID. | |
tooltip | string | The text displayed in the tooltip shown when a user hovers over the button. | |
iconname | string | The asset ID of the icon displayed in the button. | |
text | string | Optional text displayed under the button icon. |
Returns
PluginToolbarButton— The createdPluginToolbarButtoninstance.
Inherited members#
Inherited from Instance 58
Properties (10)
Archivable, archivable, Capabilities, IsInSandbox, Name, Parent, PredictionMode, RobloxLocked, Sandboxed, UniqueId
Methods (39)
AddTag, children, ClearAllChildren, Clone, clone, Destroy, destroy, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, findFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, FindFirstDescendant, GetActor, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, getChildren, GetDebugId, GetDescendants, GetFullName, GetStyled, GetStyledPropertyChangedSignal, GetTags, HasTag, IsAncestorOf, IsDescendantOf, isDescendantOf, IsPropertyModified, QueryDescendants, Remove, remove, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild