UMultiLineEditableText

Editable text box widget

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/MultiLineEditableText.h

Include

#include "Components/MultiLineEditableText.h"

Syntax

class UMultiLineEditableText : public UTextLayoutWidget

Remarks

Editable text box widget

Variables

Name Description

Public variable

bool

 

AllowContextMenu

Whether the context menu can be opened

Public variable

bool

 

bIsReadOnly

Sets whether this text block can be modified interactively by the user

Public variable

bool

 

ClearKeyboardFocusOnCommit

Whether to clear keyboard focus when pressing enter to commit changes

Public variable

bool

 

ClearTextSelectionOnFocusLoss

Whether to clear text selection when focus is lost

Public variable

FText

 

HintText

Hint text that appears when there is no text in the text box

Public variable

FGetText

 

HintTextDelegate

A bindable delegate to allow logic to drive the hint text of the widget

Protected variable

FText

 

K2_Cache_HintText

Protected variable

TSharedPtr< SMu...

 

MyMultiLineEditableText

Public variable

FOnMultiLineEdi...

 

OnTextChanged

Called whenever the text is changed programmatically or interactively by the user

Public variable

FOnMultiLineEdi...

 

OnTextCommitted

Called whenever the text is committed.

Public variable

bool

 

RevertTextOnEscape

Whether to allow the user to back out of changes when they press the escape key

Public variable

bool

 

SelectAllTextWhenFocused

Whether to select all text when the user clicks to give focus on the widget

Public variable

FText

 

Text

The text content for this editable text box widget

Public variable

EVirtualKeyboar...

 

VirtualKeyboardDismissAction

What action should be taken when the virtual keyboard is dismissed?

Public variable

FVirtualKeyboar...

 

VirtualKeyboardOptions

Additional options for the virtual keyboard

Public variable

FTextBlockStyle

 

WidgetStyle

The style

Constructors

Name Description

Public function

UMultiLineEditableText

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

FText

 

GetHintText()

Public function Const

FText

 

GetText()

Protected function

void

 

HandleOnTextChanged

(
    const FText& Text
)

Protected function

void

 

HandleOnTextCommitted

(
    const FText& Text,
    ETextCommit::Type CommitMethod
)

Protected function

FText

 

K2_Gate_HintText()

Public function

void

 

SetHintText

(
    FText InHintText
)

Public function

void

 

SetIsReadOnly

(
    bool bReadOnly
)

Public function

void

 

SetText

(
    FText InText
)

Public function

void

 

SetWidgetStyle

(
    const FTextBlockStyle& InWidgetSty...
)

Overridden from UTextLayoutWidget

Name Description

Public function Virtual

void

 

SetJustification

(
    ETextJustify::Type InJustification
)

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Classes

Deprecated Variables

Name Description

Public variable

FSlateFontInfo

 

Font_DEPRECATED

Font color and opacity (overrides Style)

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