Navigation
API > API/Editor > API/Editor/EditorWidgets > API/Editor/EditorWidgets/SAssetSearchBox
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SAssetSearchBox::FArguments
References
| Module | EditorWidgets |
| Header | /Engine/Source/Editor/EditorWidgets/Public/SAssetSearchBox.h |
| Include | #include "SAssetSearchBox.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SAssetSearchBox >
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 & | HintText
(
const TAttribute< FText >& InAttribute |
Hint text to display for the search text when there is no value | |
| WidgetArgsType & | InitialText
(
const TAttribute< FText >& InAttribute |
Initial text to display for the search text | |
| WidgetArgsType & | MustMatchPossibleSuggestions
(
const TAttribute< bool >& InAttribute |
Whether the SearchBox allows entries that don't match the possible suggestions | |
| WidgetArgsType & | OnAssetSearchBoxSuggestionChosen
(
const FOnAssetSearchBoxSuggestionChosen& InDelegate |
Callback when a suggestion entry is chosen during an asset search, to allow custom compositing behavior of the suggestion into the search text | |
| WidgetArgsType & | OnAssetSearchBoxSuggestionFilter
(
const FOnAssetSearchBoxSuggestionFilter& InDelegate |
Callback to filter the given suggestion list, to allow custom filtering behavior | |
| WidgetArgsType & | OnKeyDownHandler
(
const FOnKeyDown& InDelegate |
Callback delegate to have first chance handling of the OnKeyDown event | |
| WidgetArgsType & | OnSaveSearchClicked
(
const SFilterSearchBox::FOnSaveSearchClicked& InDelegate |
Handler for when the + Button next to a search 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 & | PossibleSuggestions
(
const TAttribute< TArray< FAssetSearchBoxSuggestion > >& InAttribute |
All possible suggestions for the search text | |
| WidgetArgsType & | ShowSearchHistory
(
const TAttribute< bool >& InAttribute |
Whether we should show a dropdown containing the last few searches | |
| WidgetArgsType & | SuggestionListPlacement
(
EMenuPlacement InArg |
Where to place the suggestion list |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |