Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FGlobalTabmanager
Description
Register a new nomad tab spawner with the tab manager. The spawner will be called when anyone calls InvokeTab(). A nomad tab is a tab that can be placed with major tabs or minor tabs in any tab well.
| Name | RegisterNomadTabSpawner |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Docking/TabManager.h |
| Include Path | #include "Framework/Docking/TabManager.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Docking/TabManager.cpp |
FTabSpawnerEntry & RegisterNomadTabSpawner
(
const FName TabId,
const FOnSpawnTab & OnSpawnTab,
const FCanSpawnTab & CanSpawnTab
)
The registration entry for the spawner.
Parameters
| Name | Remarks |
|---|---|
| TabId | The TabId to register the spawner for. |
| OnSpawnTab | The callback that will be used to spawn the tab. |
| CanSpawnTab | The callback that will be used to ask if spawning the tab is allowed. |