Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Docking/TabManager.h |
Include |
#include "Framework/Docking/TabManager.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Docking/TabManager.cpp |
FTabSpawnerEntry & RegisterTabSpawner
(
const FName TabId,
const FOnSpawnTab & OnSpawnTab,
const FCanSpawnTab & CanSpawnTab
)
Register a new tab spawner with the tab manager. The spawner will be called when anyone calls InvokeTab().
The registration entry for the spawner.
Parameter |
Description |
---|---|
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 |