Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/EditableText.h |
Include |
#include "Components/EditableText.h" |
class UEditableText : public UWidget
Editable text box widget
Name | Description | ||
---|---|---|---|
|
AllowContextMenu |
Whether the context menu can be opened |
|
|
ClearKeyboardFocusOnCommit |
Whether to clear keyboard focus when pressing enter to commit changes |
|
|
HintText |
Hint text that appears when there is no text in the text box |
|
|
HintTextDelegate |
A bindable delegate to allow logic to drive the hint text of the widget |
|
|
IsCaretMovedWhenGainFocus |
Workaround as we lose focus when the auto completion closes. |
|
|
IsPassword |
Sets whether this text box is for storing a password |
|
|
IsReadOnly |
Sets whether this text box can actually be modified interactively by the user |
|
|
TEnumAsByte< ET... |
Justification |
How the text should be aligned with the margin. |
|
K2_Cache_HintText |
||
|
K2_Cache_Text |
||
|
TEnumAsByte< EV... |
KeyboardType |
If we're on a platform that requires a virtual keyboard, what kind of keyboard should this widget use? |
|
float |
MinimumDesiredWidth |
Minimum width that a text block should be |
|
TSharedPtr< SEd... |
MyEditableText |
|
|
OnTextChanged |
Called whenever the text is changed programmatically or interactively by the user |
|
|
OnTextCommitted |
Called whenever the text is committed. |
|
|
OverflowPolicy |
Sets what should happen when text is clipped because the block does not have enough space |
|
|
RevertTextOnEscape |
Whether to allow the user to back out of changes when they press the escape key |
|
|
SelectAllTextOnCommit |
Whether to select all text when pressing enter to commit changes |
|
|
SelectAllTextWhenFocused |
Whether to select all text when the user clicks to give focus on the widget |
|
|
ShapedTextOptions |
Controls how the text within this widget should be shaped. |
|
|
Text |
The text content for this editable text box widget |
|
|
TextDelegate |
A bindable delegate to allow logic to drive the text of the widget |
|
|
VirtualKeyboardDismissAction |
What action should be taken when the virtual keyboard is dismissed? |
|
|
VirtualKeyboardOptions |
Additional options for the virtual keyboard |
|
|
VirtualKeyboardTrigger |
||
|
WidgetStyle |
The style |
Name | Description | |
---|---|---|
|
UEditableText ( |
Name | Description | ||
---|---|---|---|
|
GetText() |
Gets the widget text |
|
|
HandleOnTextChanged ( |
||
|
HandleOnTextCommitted ( |
||
|
K2_Gate_HintText() |
||
|
K2_Gate_Text() |
||
|
SetClearKeyboardFocusOnCommit ( |
||
|
SetHintText ( |
||
|
SetIsPassword ( |
||
|
SetIsReadOnly ( |
||
|
SetJustification ( |
||
|
SetKeyboardType ( |
||
|
SetText ( |
Directly sets the widget text. |
|
|
SetTextOverflowPolicy ( |
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
GetAccessibleWidget() |
Gets the widget that accessibility properties should synchronize to. |
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
|
SynchronizeProperties() |
Applies all properties to the native widget if possible. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name | Description | ||
---|---|---|---|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
Name |
Description |
|
---|---|---|
|
FOnEditableTextChangedEvent |
|
|
FOnEditableTextCommittedEvent |
Name | Description | ||
---|---|---|---|
|
TObjectPtr< USl... |
BackgroundImageComposing_DEPRECATED |
Background image for the composing text (overrides Style) |
|
TObjectPtr< USl... |
BackgroundImageSelected_DEPRECATED |
Background image for the selected text (overrides Style) |
|
TObjectPtr< USl... |
CaretImage_DEPRECATED |
Image brush used for the caret (overrides Style) |
|
ColorAndOpacity_DEPRECATED |
Text color and opacity (overrides Style) |
|
|
Font_DEPRECATED |
Font color and opacity (overrides Style) |
|
|
TObjectPtr< USl... |
Style_DEPRECATED |
Text style |