FLayoutSaveRestore::SaveSectionToConfig

Write the desired [FText](API\Runtime\Core\Internationalization\FText) value into 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 void SaveSectionToConfig
(
    const FString & InConfigFileName,
    const FString & InSectionName,
    const FText & InSectionValue
)

Remarks

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

Parameters

Parameter

Description

InConfigFileName

file to be saved to.

InSectionName

the section name where to save the value.

InSectionValue

the value to save.

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