Navigation
API > API/Plugins > API/Plugins/CommonUI > API/Plugins/CommonUI/UCommonTabListWidgetBase
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonTabListWidgetBase.h |
| Include | #include "CommonTabListWidgetBase.h" |
| Source | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Private/CommonTabListWidgetBase.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;TabList&41;
bool RegisterTab
&40;
FName TabNameID,
TSubclassOf< UCommonButtonBase > ButtonWidgetType,
UWidget &42; ContentWidget,
const int32 TabIndex
&41;
Remarks
Registers and adds a new tab to the list that corresponds to a given widget instance. If not present in the linked switcher, it will be added. True if the new tab registered successfully and there were no name ID conflicts
Parameters
| Name | Description |
|---|---|
| TabID | The name ID used to keep track of this tab. Attempts to register a tab under a duplicate ID will fail. |
| ButtonWidgetType | The widget type to create for this tab |
| ContentWidget | The widget to associate with the registered tab |
| TabIndex | Determines where in the tab list to insert the new tab (-1 means tab will be added to end of the list) |