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