Interface ConnectionEditor.IToolbarUI
Represents a toolbar for the list of Connections in the top/left pane of Connections
myToolbar.Root.styleSheets.Add(myStyleSheet);
myToolbar.Indicator.AddToClassList(MyClassNames.Pending);
myToolbar.Menu.menu.AppendAction("MyAction", myAction);
Namespace: Unity.LiveCapture .Editor
Assembly: Unity.LiveCapture.Editor.dll
Syntax
protected interface ConnectionEditor.IToolbarUI
Properties
Indicator
The run status indicator.
Declaration
VisualElement Indicator { get; }
Property Value
Type | Description |
---|---|
Visual |
Menu
Extensible menu.
Declaration
ToolbarMenu Menu { get; }
Property Value
Type | Description |
---|---|
Toolbar |
Root
The root element of the toolbar layout.
Declaration
VisualElement Root { get; }
Property Value
Type | Description |
---|---|
Visual |
Title
The title of the connection.
Declaration
Label Title { get; }
Property Value
Type | Description |
---|---|
Label |
Toggle
A toggle that starts/stops the connection based on its run state.
Declaration
Toggle Toggle { get; }
Property Value
Type | Description |
---|---|
Toggle |