FLayoutSaveRestore

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/Docking/LayoutService.h"

Syntax

struct FLayoutSaveRestore

Functions

Name Description

Public function Static

const FStrin...

 

GetAdditionalLayoutConfigIni()

Gets the ini section label for the additional layout configs

Public function Static

bool

 

IsValidConfig

(
    const FString& InConfigFileName
)

It checks whether a file is a valid layout config file.

Public function Static

TSharedRef< ...

 

LoadFromConfig

(
    const FString& InConfigFileName,
    const TSharedRef< FTabManager::FLay...,
    const EOutputCanBeNullptr InPrimary...
)

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.

Public function Static

TSharedRef< ...

 

LoadFromConfig

(
    const FString& InConfigFileName,
    const TSharedRef< FTabManager::FLay...,
    const EOutputCanBeNullptr InPrimary...,
    TArray< FString >& OutRemovedOlder...
)

Public function Static

FText

 

LoadSectionFromConfig

(
    const FString& InConfigFileName,
    const FString& InSectionName
)

Read the desired FText value from the desired section of a named config file.

Public function Static

void

 

MigrateConfig

(
    const FString& OldConfigFileName,
    const FString& NewConfigFileName
)

Migrates the layout configuration from one config file to another.

Public function Static

void

 

SaveSectionToConfig

(
    const FString& InConfigFileName,
    const FString& InSectionName,
    const FText& InSectionValue
)

Write the desired FText value into the desired section of a named config file.

Public function Static

void

 

SaveToConfig

(
    const FString& InConfigFileName,
    const TSharedRef< FTabManager::FLay...
)

Write the layout out into a named config file.

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