Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Docking/SDockableTab.h |
Include |
#include "Widgets/Docking/SDockableTab.h" |
class SDockableTab
A tab widget that also holds on to some content that should be shown when this tab is selected. Intended to be used in conjunction with SDockTabStack.
Name | Description | ||
---|---|---|---|
|
bShouldAutosize |
Should this tab be auto-sized based on its content? |
|
|
const FSlateBru... |
ContentAreaBrush |
The brush that the SDockTabStack should use to draw the content associated with this tab Documents, Apps, and Tool Panels have different backgrounds |
|
TAttribute< FMa... |
ContentAreaPadding |
|
|
LayoutIdentifier |
The tab's layout identifier |
|
|
OnCanCloseTab |
Delegate to execute to determine if we can close this tab |
|
|
OnTabClosed |
Callback to call when this tab is destroyed |
|
|
OnTabStackMenuOpeningHandler |
Called when the the tab stack's context menu is open; gives the currently focused tab a change to add custom |
|
|
float |
OverlapWidth |
The width that this tab will overlap with side-by-side tabs. |
|
TabColorScale |
Color of this tab |
|
|
TAttribute< FSt... |
TabLabel |
The label on the tab |
|
TabRole |
Is this an MajorTab? A tool panel tab? |
|
|
const FSlateBru... |
TabWellBrush |
|
|
TabWellPadding |
Name | Description | ||
---|---|---|---|
|
ActivateInParent ( |
Make this tab active in its tabwell |
|
|
BringToFrontInParent() |
Brings this tab to the front of its parent's tab well, if applicable. |
|
|
Construct ( |
Construct the widget from the declaration. |
|
|
TSharedRef< ... |
GetContent() |
|
|
TSharedPtr< ... |
GetParentDockTabStack() |
Gets the dock tab stack this dockable tab resides within, if any |
|
IsActive() |
||
|
IsForeground() |
||
|
RemoveTabFromParent() |
Pulls this tab out of it's parent tab stack and destroys it Note: This does not check if its safe to remove the tab. |
|
|
RequestCloseTab() |
Requests that the tab be closed. Tabs may prevent closing depending on their state |
|
|
SetContent ( |
||
|
SetOnTabStackMenuOpening ( |
Set delegate to invoke when tab stack menu is opening |
|
|
ShouldAutosize() |
Should this tab be sized based on its content. |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
FOnTabClosedCallback |