Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/Docking
Inheritance Hierarchy
- TSharedFromThis
- FTabManager
- FGlobalTabmanager
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/Docking/TabManager.h |
| Include | #include "Framework/Docking/TabManager.h" |
Syntax
class FGlobalTabmanager : public FTabManager
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnOverrideDockableAreaRestore | OnOverrideDockableAreaRestore_Handler | Used to override dockable area restoration behavior |
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddLegacyTabType
(
FName InLegacyTabType, |
Adds a legacy tab type to the tab type redirection map so tabs loaded with this type will be automatically converted to the new type | |
| bool | CanSetAsActiveTab
(
const TSharedPtr< SDockTab >& Tab |
Can the manager activate this Tab as the new active tab? | |
| void | DrawAttentionToTabManager
(
const TSharedRef< FTabManager >& ChildManager |
Draw the user's attention to a child tab manager | |
| const TSharedRef< FGlobalTabmanager > & | Get () |
||
| TSharedPtr< SDockTab > | GetActiveTab () |
||
| const FText & | |||
| TSharedPtr< SDockTab > | GetMajorTabForTabManager
(
const TSharedRef< FTabManager >& ChildManager |
Gets the major tab for the manager | |
| int32 | Returns the highest number of tabs that were open simultaneously during this session | ||
| int32 | Returns the highest number of parent windows that were open simultaneously during this session | ||
| TSharedPtr< SWindow > | The window under which all other windows in our app nest; might be null | ||
| TSharedPtr< FTabManager > | GetTabManagerForMajorTab
(
const TSharedPtr< SDockTab > DockTab |
Gets the tab manager that a major tab owns. | |
| FName | GetTabTypeForPotentiallyLegacyTab
(
FName InTabType |
If the specified TabType is deprecated, returns the new replacement tab type. | |
| bool | IsLegacyTabType
(
FName InTabType |
Returns true if the specified tab type is registered as a legacy tab | |
| TSharedRef< FGlobalTabmanager > | New () |
||
| TSharedRef< FTabManager > | NewTabManager
(
const TSharedRef< SDockTab >& InOwnerTab |
||
| FDelegateHandle | OnActiveTabChanged_Subscribe
(
const FOnActiveTabChanged::FDelegate& InDelegate |
Subscribe to notifications about the active tab changing | |
| void | OnActiveTabChanged_Unsubscribe
(
FDelegateHandle Handle |
Unsubscribe to notifications about the active tab changing | |
| FDelegateHandle | OnTabForegrounded_Subscribe
(
const FOnActiveTabChanged::FDelegate& InDelegate |
Subscribe to notifications about a foreground tab changing | |
| void | OnTabForegrounded_Unsubscribe
(
FDelegateHandle Handle |
Unsubscribe to notifications about a foreground tab changing | |
| FTabSpawnerEntry & | RegisterNomadTabSpawner
(
const FName TabId, |
Register a new normad tab spawner with the tab manager. | |
| void | Persist and serialize the layout of every TabManager and the custom visual state of every Tab. | ||
| void | SetActiveTab
(
const TSharedPtr< SDockTab >& NewActiveTab |
Activate the NewActiveTab. If NewActiveTab is NULL, the active tab is cleared. | |
| void | SetApplicationTitle
(
const FText& AppTitle |
||
| void | SetProxyTabManager
(
TSharedPtr< FProxyTabmanager > InProxyTabManager |
||
| void | SetRootWindow
(
const TSharedRef< SWindow > InRootWindow |
Provide a window under which all other windows in this application should nest. | |
| void | UnregisterNomadTabSpawner
(
const FName TabId |
||
| void | UpdateMainMenu
(
const TSharedRef< SDockTab >& ForTab, |
Update the native, global menu bar if it is being used for a specific tab managed by the global tab manager. |
Overridden from FTabManager
| Type | Name | Description | |
|---|---|---|---|
| bool | CanCloseManager
(
const TSet< TSharedRef< SDockTab > >& TabsToIgnore |
Check these all tabs to see if it is OK to close them. Ignore the TabsToIgnore | |
| void | Called at the end of RestoreFrom for tab managers to complete any work after all tabs have been restored | ||
| void | OnTabClosing
(
const TSharedRef< SDockTab >& TabBeingClosed |
||
| void | OnTabForegrounded
(
const TSharedPtr< SDockTab >& NewForegroundTab, |
Notify the tab manager that the NewForegroundTab was brought to front and the BackgroundedTab was send to the background as a result. | |
| void | Invoked when a tab manager is closing down. | ||
| void | OnTabRelocated
(
const TSharedRef< SDockTab >& RelocatedTab, |
||
| void | OpenUnmanagedTab
(
FName PlaceholderId, |
||
| void | UpdateStats () |
Called when tab(s) have been added or windows created |
Typedefs
| Name | Description |
|---|---|
| FOnOverrideDockableAreaRestore |