class ToolBar : Widget

robot_2Generated
code_blocksInput

Description

The ToolBar class in the Editor namespace is a UI component that provides a customizable toolbar for editor applications. It allows adding options, widgets, and separators, and supports customization of its appearance and behavior.

Members

Instance Members

Member Name Summary
AddOption(String, String, Action) Adds a new option to the toolbar with specified text, icon, and action.
AddOption(Option) Adds an existing option to the toolbar.
Clear Removes all options and widgets from the toolbar.
AddSeparator Adds a visual separator to the toolbar.
AddWidget(T) Adds a custom widget to the toolbar.
SetIconSize Sets the size of the icons in the toolbar.
Title Gets or sets the title of the toolbar.
Movable Gets or sets a value indicating whether the toolbar can be moved.
Floatable Gets or sets a value indicating whether the toolbar can float.
ButtonStyle Gets or sets the style of the buttons in the toolbar.