FGlobalTabmanager::RegisterNomadTabSpawner

Register a new normad tab spawner with the tab manager.

Windows
MacOS
Linux

References

Module

Slate

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

Syntax

FTabSpawnerEntry & RegisterNomadTabSpawner
(
    const FName TabId,
    const FOnSpawnTab & OnSpawnTab,
    const FCanSpawnTab & CanSpawnTab
)

Remarks

Register a new normad 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

Returns

The registration entry for the spawner.

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss