Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input > API/Runtime/Slate/Widgets/Input/SSearchBox
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SSearchBox::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SSearchBox.h |
| Include | #include "Widgets/Input/SSearchBox.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SSearchBox >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | DelayChangeNotificationsWhileTyping
(
const TAttribute< bool >& InAttribute |
Whether the SearchBox should delay notifying listeners of text changed events until the user is done typing | |
| WidgetArgsType & | DelayChangeNotificationsWhileTypingSeconds
(
const TAttribute< float >& InAttribute |
If we're delaying change notifications how many seconds should we wait? | |
| WidgetArgsType & | HintText
(
const TAttribute< FText >& InAttribute |
The text displayed in the SearchBox when no text has been entered | |
| WidgetArgsType & | InitialText
(
const TAttribute< FText >& InAttribute |
The text displayed in the SearchBox when it's created | |
| WidgetArgsType & | IsSearching
(
const TAttribute< bool >& InAttribute |
Whether or not an external search is currently running. | |
| WidgetArgsType & | MinDesiredWidth
(
const TAttribute< float >& InAttribute |
Minimum width that a text block should be | |
| WidgetArgsType & | OnKeyDownHandler
(
const FOnKeyDown& InDelegate |
Callback delegate to have first chance handling of the OnKeyDown event | |
| WidgetArgsType & | This will add a next and previous button to your search box | ||
| WidgetArgsType & | OnSearchGlassClicked
(
const FOnClicked& InDelegate |
Optional callback to allow for special functionality to be invoked when the search glass button is clicked | |
| WidgetArgsType & | OnTextChanged
(
const FOnTextChanged& InDelegate |
Invoked whenever the text changes | |
| WidgetArgsType & | OnTextCommitted
(
const FOnTextCommitted& InDelegate |
Invoked whenever the text is committed (e.g. user presses enter) | |
| WidgetArgsType & | OnVerifyTextChanged
(
const FOnVerifyTextChanged& InDelegate |
Called whenever the text is changed programmatically or interactively by the user | |
| WidgetArgsType & | SearchResultData
(
const TAttribute< TOptional< FSearchResultData > >& InAttribute |
Optional search result data to be shown in the search bar. | |
| WidgetArgsType & | SelectAllTextWhenFocused
(
const TAttribute< bool >& InAttribute |
Whether to select all text when the user clicks to give focus on the widget | |
| WidgetArgsType & | Style
(
const FSearchBoxStyle* InArg |
Style used to draw this search box |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |