Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UTextLayoutWidget
- UMultiLineEditableText
- UEditorUtilityMultiLineEditableText
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
Type | Name | Description | |
---|---|---|---|
![]() |
bool | AllowContextMenu | Whether the context menu can be opened |
![]() |
FGetText | HintTextDelegate | A bindable delegate to allow logic to drive the hint text of the widget |
![]() |
FText | K2_Cache_HintText | |
![]() |
TSharedPtr< SMultiLineEditableText > | MyMultiLineEditableText | |
![]() |
FOnMultiLineEditableTextChangedEvent | OnTextChanged | Called whenever the text is changed programmatically or interactively by the user |
![]() |
FOnMultiLineEditableTextCommittedEvent | OnTextCommitted | Called whenever the text is committed. |
![]() |
EVirtualKeyboardDismissAction | VirtualKeyboardDismissAction | What action should be taken when the virtual keyboard is dismissed? |
![]() |
FVirtualKeyboardOptions | VirtualKeyboardOptions | Additional options for the virtual keyboard |
![]() |
FTextBlockStyle | WidgetStyle | The style |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UMultiLineEditableText
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Whether to clear keyboard focus when pressing enter to commit changes | |
![]() ![]() |
bool | Whether to clear text selection when focus is lost | |
![]() ![]() |
const FSlateFontInfo & | GetFont () |
|
![]() ![]() |
FText | GetHintText () |
Returns the Hint text that appears when there is no text in the text box |
![]() ![]() |
bool | Return true when this text cannot be modified interactively by the user | |
![]() ![]() |
bool | Whether to allow the user to back out of changes when they press the escape key | |
![]() ![]() |
bool | Whether to select all text when the user clicks to give focus on the widget | |
![]() ![]() |
FText | GetText () |
Gets the widget text |
![]() |
void | HandleOnTextChanged
(
const FText& Text |
|
![]() |
void | HandleOnTextCommitted
(
const FText& Text, |
|
![]() |
FText | ||
![]() |
void | SetClearKeyboardFocusOnCommit
(
bool bClearKeyboardFocusOnCommit |
Set to true to clear keyboard focus when pressing enter to commit changes |
![]() |
void | SetClearTextSelectionOnFocusLoss
(
bool bClearTextSelectionOnFocusLoss |
Set to true to clear text selection when focus is lost |
![]() |
void | SetFont
(
FSlateFontInfo InFontInfo |
|
![]() |
void | SetFontMaterial
(
UMaterialInterface* InMaterial |
|
![]() |
void | SetFontOutlineMaterial
(
UMaterialInterface* InMaterial |
|
![]() |
void | SetHintText
(
FText InHintText |
Sets the Hint text that appears when there is no text in the text box |
![]() |
void | SetIsReadOnly
(
bool bReadOnly |
Sets the Text as Readonly to prevent it from being modified interactively by the user |
![]() |
void | SetRevertTextOnEscape
(
bool bRevertTextOnEscape |
Set to true to allow the user to back out of changes when they press the escape key |
![]() |
void | SetSelectAllTextWhenFocused
(
bool bSelectAllTextWhenFocused |
Set to true to select all text when the user clicks to give focus on the widget |
![]() |
void | Directly sets the widget text. | |
![]() |
void | SetWidgetStyle
(
const FTextBlockStyle& InWidgetStyle |
Overridden from UTextLayoutWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | SetJustification
(
ETextJustify::Type InJustification |
Overridden from UWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FText | Gets the palette category of the widget | |
![]() ![]() |
TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | |
![]() ![]() |
void | Applies all properties to the native widget if possible. |
Overridden from UVisual
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ReleaseSlateResources
(
bool bReleaseChildren |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FOnMultiLineEditableTextChangedEvent | ||
![]() |
FOnMultiLineEditableTextCommittedEvent |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
bool | bIsReadOnly | Direct access to IsReadOnly is deprecated. Please use the getter or setter. |
![]() |
bool | ClearKeyboardFocusOnCommit | Direct access to ClearKeyboardFocusOnCommit is deprecated. Please use the getter or setter. |
![]() |
bool | ClearTextSelectionOnFocusLoss | Direct access to ClearTextSelectionOnFocusLoss is deprecated. Please use the getter or setter. |
![]() |
FText | HintText | Direct access to HintText is deprecated. Please use the getter or setter. |
![]() |
bool | RevertTextOnEscape | Direct access to RevertTextOnEscape is deprecated. Please use the getter or setter. |
![]() |
bool | SelectAllTextWhenFocused | Direct access to SelectAllTextWhenFocused is deprecated. Please use the getter or setter. |
![]() |
FText | Text | Direct access to Text is deprecated. Please use the getter or setter. |