Table of Contents
Enumerations #
Name | Values |
---|---|
Alignments | Left Center Right |
BorderStyles | Dark |
Light | |
White | |
Primary | |
Secondary | |
Info | |
Success | |
Warning | |
Danger | |
BorderTypes | None |
All | |
Top | |
Right | |
Bottom | |
Left | |
NoTop | |
NoRight | |
NoBottom | |
NoLeft | |
ButtonStyles | Primary |
Secondary | |
Success | |
Danger | |
Warning | |
Info | |
Light | |
Dark | |
Link | |
Corners | None |
Rounded | |
Top | |
Right | |
Bottom | |
Left | |
Circle | |
Directions | Horizontal Vertical |
DisableModes | ModeButton |
ModeComponent | |
IconPositions | Left |
Top | |
Right | |
Bottom | |
TextStyles | Dark |
Light | |
White | |
Primary | |
Secondary | |
Info | |
Success | |
Warning | |
Danger |
Constants #
This class exposes no constants.
Events #
Definition | Description |
---|---|
Action( ClickedButton as GraffitiToolbarItem, mouseX as Integer, mouseY as Integer, buttonDimensions as REALbasic.Rect ) | Fired when the button is clicked. |
ButtonEnter( theButton as GraffitiToolbarItem ) | Raised when the mouse enters the specified button. |
ButtonExit( theButton as GraffitiToolbarItem ) | Raised when the mouse exits the specified button. |
Methods #
Definition | Description |
---|---|
AddButton( newButton as GraffitiWebToolbarItem ) | Adds newButton to the toolbar. |
Button( index as Integer ) as GraffitiWebToolbarItem | Returns the button at the specified index. |
ButtonCount() as Integer | Returns the number of buttons currently added to the control. |
InsertButton( atIndex as Integer, newButton as GraffitiToolbarItem ) | Inserts newButton at the index supplied. |
LastButton() as GraffitiToolbarItem | Returns the last added/inserted button. |
RemoveAll() | Removes all buttons from the toolbar. |
RemoveButton( index as Integer ) | Removes the specified button from the toolbar. |
RemoveButton( theButton as GraffitiToolbarItem ) |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
AutoDisable | Boolean | True | When True, buttons will automatically be disabled when clicked and must be manually re-enabled. |
AutoDisableMode | DisableModes | ModeButton | The method used for AutoDisable. When set to ModeComponent, the entire control will be disabled. ModeButton will disable only the Button that was interacted with. |
Direction | Directions | Directions.Horizontal | Determines the render direction of the toolbar. |
ToolbarStyle | WebSDKUIControl.Indicators | Default | Background color of the toolbar. |
Examples #
This class currently has no examples.
Notes #
This class currently has no notes.