FAppStyle

AppStyle class

Choose your operating system:

Windows

macOS

Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/AppStyle.h

Include

#include "Styling/AppStyle.h"

Syntax

class FAppStyle

Remarks

AppStyle class

AppStyle is a Singleton accessor to a named SlateStyle to be used as an Application wide base style definition.

Moving forward, all references in any core Slate Application Widgets should use FAppStyle::Get()

FEditorStyle::Get accessors and FCoreStyle::Get accessors should be replaced with FAppStyle::Get()

Currently, this code defaults to use FCoreStyle::GetCoreStyle() if the named style is not found.

Functions

Name Description

Public function Static

const ISlate...

 

Get()

Public function Static

const FName

 

GetAppStyleSetName()

Public function Static

void

 

SetAppStyleSet

(
    const ISlateStyle& InStyle
)

Public function Static

void

 

SetAppStyleSetName

(
    const FName& InName
)

Constants

Name

Description

AppStyleName