FLayoutSaveRestore::LoadFromConfig

Given a named DefaultLayout, return any saved version of it from the given ini file, otherwise return the default, also default to open tabs based on bool.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Docking/LayoutService.h

Include

#include "Framework/Docking/LayoutService.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Docking/LayoutService.cpp

Syntax

static TSharedRef< FTabManager::FLayout > LoadFromConfig
(
    const FString & ConfigFileName,
    const TSharedRef< FTabManager::FLayout > & DefaultLayout
)

Remarks

Given a named DefaultLayout, return any saved version of it from the given ini file, otherwise return the default, also default to open tabs based on bool.

Returns

Loaded layout or the default.

Parameters

Parameter

Description

ConfigFileName

file to be used to load an existing layout.

DefaultLayout

the layout to be used if the file does not exist.

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