Choose your operating system:
Windows
macOS
Linux
| ISlateEditableTextWidget
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Text/ISlateEditableTextWidget.h |
Include |
#include "Widgets/Text/ISlateEditableTextWidget.h" |
class ISlateEditableTextWidget
Interface to allow FSlateEditableTextLayout to notify its parent SEditableText/SMultiLineEditableText of changes, as well as query some widget specific state
Name | Description | ||
---|---|---|---|
|
TSharedPtr< ... |
BuildContextMenuContent() |
Build the context menu content to use for this widget (if any) |
|
CanInsertCarriageReturn() |
Are we currently able to insert a carriage return? (some widgets have modifier keys that need to be pressed) |
|
|
CanTypeCharacter ( |
Are we able to insert the given character into our text? |
|
|
EnsureActiveTick() |
Ensure that we will get a Tick() soon (either due to having active focus, or something having changed progmatically and requiring an update) Does nothing if the active tick timer is already enabled |
|
|
TSharedRef< ... |
GetSlateWidget() |
Get the Slate widget this interface is representing (may not be called during destruction) |
|
TSharedPtr< ... |
GetSlateWidgetPtr() |
Get the Slate widget this interface is representing (may be null during destruction) |
|
EVirtualKeyb... |
GetVirtualKeyboardDismissAction() |
Get the message action to take when the virtual keyboard is dismissed by the user |
|
FVirtualKeyb... |
GetVirtualKeyboardOptions() |
Get the options for the virtual keyboard used for this widget |
|
EVirtualKeyb... |
GetVirtualKeyboardTrigger() |
Get the type of event that will trigger the display of the virtual keyboard |
|
EKeyboardTyp... |
GetVirtualKeyboardType() |
Get the type of virtual keyboard to use for this widget |
|
IsMultiLineTextEdit() |
Is the text edit multi-line aware? |
|
|
IsTextPassword() |
Is the text displaying a password and should be obscured? |
|
|
IsTextReadOnly() |
Is the text currently read-only? |
|
|
OnCursorMoved ( |
Called when the cursor is moved within the text area |
|
|
OnTextChanged ( |
Called when the text has been changed by an edit operation |
|
|
OnTextCommitted ( |
Called when the text control has committed its current edit changes |
|
|
ShouldClearKeyboardFocusOnCommit() |
Should we clear the keyboard focus when the user commits text to this widget? |
|
|
ShouldClearTextSelectionOnFocusLoss() |
Should the text clear its selection the widget loses focus? |
|
|
ShouldJumpCursorToEndWhenFocused() |
Should the cursor be jumped to the end of the document when the widget gains focus? |
|
|
ShouldRevertTextOnEscape() |
Should we revert the text back to its original state when the user presses escape? |
|
|
ShouldSelectAllTextOnCommit() |
Should we select all text when the user commits text to this widget? |
|
|
ShouldSelectAllTextWhenFocused() |
Should the text be selected when the widget gains focus? |
|
|
ShouldSelectWordOnMouseDoubleClick() |
Should we select word on mouse double click? |
|
|
float |
UpdateAndClampHorizontalScrollBar ( |
Called when the fraction and offset of the horizontal scroll area has been recalculated. |
|
float |
UpdateAndClampVerticalScrollBar ( |
Called when the fraction and offset of the vertical scroll area has been recalculated. |