FEditableTextStyle

Represents the appearance of an [SEditableText](API\Runtime\Slate\Widgets\Input\SEditableText)

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FEditableTextStyle

References

Module

SlateCore

Header

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

Include

#include "Styling/SlateTypes.h"

Syntax

struct FEditableTextStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SEditableText

Variables

Name Description

Public variable

FSlateBrush

 

BackgroundImageComposing

Background image for the selected text

Public variable

FSlateBrush

 

BackgroundImageSelected

Background image for the selected text

Public variable

FSlateBrush

 

CaretImage

Image brush used for the caret

Public variable

FSlateColor

 

ColorAndOpacity

The color and opacity of this text

Public variable

FSlateFontInfo

 

Font

Font family and size to be used when displaying this text.

Constructors

Name Description

Public function

FEditableTextStyle()

Destructors

Name Description

Public function Virtual

~FEditableTextStyle()

Functions

Name Description

Public function Static

const FEdita...

 

GetDefault()

Public function

FEditableTex...

 

SetBackgroundImageComposing

(
    const FSlateBrush& InBackgroundIma...
)

Public function

FEditableTex...

 

SetBackgroundImageSelected

(
    const FSlateBrush& InBackgroundIma...
)

Public function

FEditableTex...

 

SetCaretImage

(
    const FSlateBrush& InCaretImage
)

Public function

FEditableTex...

 

SetColorAndOpacity

(
    const FSlateColor& InColorAndOpaci...
)

Public function

FEditableTex...

 

SetFont

(
    const FSlateFontInfo& InFont
)

Public function

FEditableTex...

 

SetFont

(
    const FName& InFontName,
    uint16 InSize
)

Public function

void

 

UnlinkColors()

Unlinks all colors in this style.

Overridden from FSlateWidgetStyle

Name Description

Public function Virtual Const

void

 

GetResources

(
    TArray< const FSlateBrush* >&...
)

Gets the brush resources associated with this style.

Public function Virtual Const

const FName

 

GetTypeName()

Gets the name of this style.

This method must be implemented by inherited structures.

Constants

Name

Description

TypeName

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