Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input > API/Runtime/Slate/Widgets/Input/SSuggestionTextBox
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SSuggestionTextBox::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SSuggestionTextBox.h |
| Include | #include "Widgets/Input/SSuggestionTextBox.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SSuggestionTextBox >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | BackgroundColor
(
const TAttribute< FSlateColor >& InAttribute |
The color of the background/border around the editable text. | |
| WidgetArgsType & | BackgroundImage
(
const FSlateBrush* InArg |
The image of the background/border around the editable text. | |
| WidgetArgsType & | ClearKeyboardFocusOnCommit
(
const TAttribute< bool >& InAttribute |
Whether to clear keyboard focus when pressing enter to commit changes. | |
| WidgetArgsType & | ErrorReporting
(
TSharedPtr< class IErrorReportingWidget > InArg |
Provides an alternative mechanism for error reporting. | |
| WidgetArgsType & | Font
(
const TAttribute< FSlateFontInfo >& InAttribute |
Font color and opacity. | |
| WidgetArgsType & | ForegroundColor
(
const TAttribute< FSlateColor >& InAttribute |
Text color and opacity. | |
| WidgetArgsType & | HintText
(
const TAttribute< FText >& InAttribute |
Hint text that appears when there is no text in the text box. | |
| WidgetArgsType & | IsCaretMovedWhenGainFocus
(
const TAttribute< bool >& InAttribute |
Workaround as we loose focus when the auto completion closes. | |
| WidgetArgsType & | MinDesiredWidth
(
const TAttribute< float >& InAttribute |
Minimum width that a text block should be. | |
| WidgetArgsType & | OnShowingHistory
(
const FOnShowingHistory& InDelegate |
Called before the history list is shown. | |
| WidgetArgsType & | OnShowingSuggestions
(
const FOnShowingSuggestions& InDelegate |
Called before the suggestion list is shown. | |
| WidgetArgsType & | OnTextChanged
(
const FOnTextChanged& InDelegate |
Called whenever the text is changed programmatically or interactively by the user. | |
| WidgetArgsType & | OnTextCommitted
(
const FOnTextCommitted& InDelegate |
Called when the text has been committed. | |
| WidgetArgsType & | RevertTextOnEscape
(
const TAttribute< bool >& InAttribute |
Whether to allow the user to back out of changes when they press the escape key. | |
| 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 & | SuggestionListMaxHeight
(
const TAttribute< float >& InAttribute |
The maximum height of the suggestion list. | |
| WidgetArgsType & | SuggestionTextStyle
(
const FTextBlockStyle* InArg |
The styling of the suggestion text. | |
| WidgetArgsType & | Text
(
const TAttribute< FText >& InAttribute |
Sets the text content for this editable text box widget. | |
| WidgetArgsType & | TextStyle
(
const FEditableTextBoxStyle* InArg |
The styling of the text box. |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |