Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input > API/Runtime/Slate/Widgets/Input/SMultiLineEditableTextBox
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SMultiLineEditableTextBox::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SMultiLineEditableTextBox.h |
| Include | #include "Widgets/Input/SMultiLineEditableTextBox.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SMultiLineEditableTextBox >
Variables
| Type | Name | Description | |
|---|---|---|---|
| const FTextBlockStyle * | _TextStyle | Pointer to a style of the text block, which dictates the font, color, and shadow options. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | AllowContextMenu
(
const TAttribute< bool >& InAttribute |
Whether the context menu can be opened | |
| WidgetArgsType & | AllowMultiLine
(
const TAttribute< bool >& InAttribute |
Whether to allow multi-line text | |
| WidgetArgsType & | AlwaysShowScrollbars
(
bool InArg |
Should we always show the scrollbars (only affects internally created scroll bars) | |
| WidgetArgsType & | AutoWrapText
(
const TAttribute< bool >& InAttribute |
Whether to wrap text automatically based on the widget's computed horizontal space. | |
| WidgetArgsType & | BackgroundColor
(
const TAttribute< FSlateColor >& InAttribute |
The color of the background/border around the editable text (overrides Style) | |
| WidgetArgsType & | ClearKeyboardFocusOnCommit
(
const TAttribute< bool >& InAttribute |
Whether to clear keyboard focus when pressing enter to commit changes | |
| WidgetArgsType & | ClearTextSelectionOnFocusLoss
(
const TAttribute< bool >& InAttribute |
Whether to clear text selection when focus is lost | |
| WidgetArgsType & | ContextMenuExtender
(
const FMenuExtensionDelegate& InDelegate |
Menu extender for the right-click context menu | |
| WidgetArgsType & | CreateSlateTextLayout
(
const FCreateSlateTextLayout& InDelegate |
Delegate used to create text layouts for this widget. | |
| WidgetArgsType & | ErrorReporting
(
TSharedPtr< class IErrorReportingWidget > InArg |
Provide a alternative mechanism for error reporting. | |
| WidgetArgsType & | FocusedForegroundColor
(
const TAttribute< FSlateColor >& InAttribute |
Text color and opacity when this box has keyboard focus (overrides Style) | |
| WidgetArgsType & | Font
(
const TAttribute< FSlateFontInfo >& InAttribute |
Font color and opacity (overrides Style) | |
| WidgetArgsType & | ForegroundColor
(
const TAttribute< FSlateColor >& InAttribute |
Text color and opacity (overrides Style) | |
| WidgetArgsType & | HintText
(
const TAttribute< FText >& InAttribute |
Hint text that appears when there is no text in the text box | |
| WidgetArgsType & | HScrollBar
(
TSharedPtr< SScrollBar > InArg |
The horizontal scroll bar widget, or null to create one internally | |
| WidgetArgsType & | HScrollBarPadding
(
const TAttribute< FMargin >& InAttribute |
Padding around the horizontal scrollbar (overrides Style) | |
| WidgetArgsType & | IsCaretMovedWhenGainFocus
(
const TAttribute< bool >& InAttribute |
Workaround as we loose focus when the auto completion closes. | |
| WidgetArgsType & | IsReadOnly
(
const TAttribute< bool >& InAttribute |
Sets whether this text box can actually be modified interactively by the user | |
| WidgetArgsType & | Justification
(
const TAttribute< ETextJustify::Type >& InAttribute |
How the text should be aligned with the margin. | |
| WidgetArgsType & | LineHeightPercentage
(
const TAttribute< float >& InAttribute |
The amount to scale each lines height by. | |
| WidgetArgsType & | Margin
(
const TAttribute< FMargin >& InAttribute |
The amount of blank space left around the edges of text area. | |
| WidgetArgsType & | Marshaller
(
TSharedPtr< ITextLayoutMarshaller > InArg |
The marshaller used to get/set the raw text to/from the text layout. | |
| WidgetArgsType & | ModiferKeyForNewLine
(
EModifierKey::Type InArg |
The optional modifier key necessary to create a newline when typing into the editor. | |
| WidgetArgsType & | OnContextMenuOpening
(
const FOnContextMenuOpening& InDelegate |
Delegate to call before a context menu is opened. | |
| WidgetArgsType & | OnCursorMoved
(
const SMultiLineEditableText::FOnCursorMoved& InDelegate |
Called when the cursor is moved within the text area | |
| WidgetArgsType & | OnHScrollBarUserScrolled
(
const FOnUserScrolled& InDelegate |
Called whenever the horizontal scrollbar is moved by the user | |
| WidgetArgsType & | OnIsTypedCharValid
(
const FOnIsTypedCharValid& InDelegate |
This is NOT for validating input! | |
| WidgetArgsType & | OnKeyCharHandler
(
const FOnKeyChar& InDelegate |
Callback delegate to have first chance handling of the OnKeyChar event | |
| WidgetArgsType & | OnKeyDownHandler
(
const FOnKeyDown& InDelegate |
Callback delegate to have first chance handling of the OnKeyDown event | |
| WidgetArgsType & | OnTextChanged
(
const FOnTextChanged& InDelegate |
Called whenever the text is changed programmatically or interactively by the user | |
| WidgetArgsType & | OnTextCommitted
(
const FOnTextCommitted& InDelegate |
Called whenever the text is committed. | |
| WidgetArgsType & | OnVerifyTextChanged
(
const FOnVerifyTextChanged& InDelegate |
Called whenever the text is changed programmatically or interactively by the user | |
| WidgetArgsType & | OnVScrollBarUserScrolled
(
const FOnUserScrolled& InDelegate |
Called whenever the vertical scrollbar is moved by the user | |
| WidgetArgsType & | OverflowPolicy
(
TOptional< ETextOverflowPolicy > InArg |
Determines what happens to text that is clipped and doesn't fit within the allotted area for this widget | |
| WidgetArgsType & | Padding
(
const TAttribute< FMargin >& InAttribute |
Padding between the box/border and the text widget inside (overrides Style) | |
| WidgetArgsType & | ReadOnlyForegroundColor
(
const TAttribute< FSlateColor >& InAttribute |
Text color and opacity when read-only (overrides Style) | |
| WidgetArgsType & | RevertTextOnEscape
(
const TAttribute< bool >& InAttribute |
Whether to allow the user to back out of changes when they press the escape key | |
| WidgetArgsType & | SearchText
(
const TAttribute< FText >& InAttribute |
Text to search for (a new search is triggered whenever this text changes) | |
| WidgetArgsType & | SelectAllTextOnCommit
(
const TAttribute< bool >& InAttribute |
Whether to select all text when pressing enter to commit changes | |
| WidgetArgsType & | SelectAllTextWhenFocused
(
const TAttribute< bool >& InAttribute |
Whether to select all text when the user clicks to give focus on the widget | |
| WidgetArgsType & | SelectWordOnMouseDoubleClick
(
const TAttribute< bool >& InAttribute |
Whether to select word on mouse double click on the widget | |
| WidgetArgsType & | Style
(
const FEditableTextBoxStyle* InArg |
The styling of the textbox | |
| WidgetArgsType & | Text
(
const TAttribute< FText >& InAttribute |
Sets the text content for this editable text box widget | |
| WidgetArgsType & | TextFlowDirection
(
TOptional< ETextFlowDirection > InArg |
Which text flow direction should we use? (unset to use the default returned by GetDefaultTextFlowDirection) | |
| WidgetArgsType & | TextShapingMethod
(
TOptional< ETextShapingMethod > InArg |
Which text shaping method should we use? (unset to use the default returned by GetDefaultTextShapingMethod) | |
| WidgetArgsType & | TextStyle
(
const USlateWidgetStyleAsset*const InSlateStyleAsset |
||
| WidgetArgsType & | TextStyle
(
const TWeakObjectPtr< const class USlateWidgetStyleAsset >& InSlateStyleAsset |
||
| WidgetArgsType & | TextStyle
(
const ISlateStyle* InSlateStyle, |
||
| WidgetArgsType & | TextStyle
(
const ISlateStyle& InSlateStyle, |
||
| WidgetArgsType & | TextStyle
(
const TWeakObjectPtr< const class ISlateStyle >& InSlateStyle, |
||
| WidgetArgsType & | TextStyle
(
const TSharedPtr< const class ISlateStyle >& InSlateStyle, |
||
| WidgetArgsType & | VirtualKeyboardDismissAction
(
const TAttribute< EVirtualKeyboardDismissAction >& InAttribute |
The message action to take when the virtual keyboard is dismissed by the user | |
| WidgetArgsType & | Additional options used by the virtual keyboard summoned by this widget | ||
| WidgetArgsType & | VirtualKeyboardTrigger
(
const TAttribute< EVirtualKeyboardTrigger >& InAttribute |
The type of event that will trigger the display of the virtual keyboard | |
| WidgetArgsType & | VScrollBar
(
TSharedPtr< SScrollBar > InArg |
The vertical scroll bar widget, or null to create one internally | |
| WidgetArgsType & | VScrollBarPadding
(
const TAttribute< FMargin >& InAttribute |
Padding around the vertical scrollbar (overrides Style) | |
| WidgetArgsType & | WrappingPolicy
(
const TAttribute< ETextWrappingPolicy >& InAttribute |
The wrapping policy to use | |
| WidgetArgsType & | WrapTextAt
(
const TAttribute< float >& InAttribute |
Whether text wraps onto a new line when it's length exceeds this width; if this value is zero or negative, no wrapping occurs. |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |