FLayoutSaveRestore::LoadSectionFromConfig

Read the desired [FText](API\Runtime\Core\Internationalization\FText) value from the desired section of a named config file.

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 FText LoadSectionFromConfig
(
    const FString & InConfigFileName,
    const FString & InSectionName
)

Remarks

Read the desired FText value from the desired section of a named config file. This function should only be used to load localization names (e.g., LayoutName, LayoutDescription). For loading the FTabManager::FLayout, check SaveToConfig.

Returns

Loaded FText associated for that section.

Parameters

Parameter

Description

InConfigFileName

file to be used to load an existing layout.

InSectionName

the name of the section to be read.

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