Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/Sidebar
References
| Module | ToolWidgets |
| Header | /Engine/Source/Developer/ToolWidgets/Public/Sidebar/SidebarDrawerConfig.h |
| Include | #include "Sidebar/SidebarDrawerConfig.h" |
Syntax
struct FSidebarDrawerConfig
Remarks
Configuration information used to register a sidebar drawer.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAttribute< FText > | ButtonText | Text to display on the drawer tab button | |
| TAttribute< const FSlateBrush * > | Icon | Icon to display for the drawer tab button | |
| FSidebarDrawerState | InitialState | The state of the sidebar drawer. (Visible, Pinned, Docked, Size) | |
| TSharedPtr< SWidget > | OverrideContentWidget | Optional content widget to use instead of registering sections. | |
| TAttribute< FText > | ToolTipText | ToolTip text to display for the drawer tab button | |
| FName | UniqueId | Unique Id used to identify the drawer |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FName InOtherId |
||
| bool | operator!=
(
const FSidebarDrawerConfig& InOther |
||
| bool | operator==
(
const FName InOtherId |
||
| bool | operator==
(
const FSidebarDrawerConfig& InOther |