Navigation
API > API/Editor > API/Editor/EditorWidgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SAssetSearchBox
References
| Module | EditorWidgets |
| Header | /Engine/Source/Editor/EditorWidgets/Public/SAssetSearchBox.h |
| Include | #include "SAssetSearchBox.h" |
Syntax
class SAssetSearchBox : public SCompoundWidget
Remarks
A widget to provide a search box with a filtered dropdown menu. Also provides the functionality to show search history optionally, and a button/delegate to save a search via SetOnSaveSearchHandler
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
Constructs this widget with InArgs | |
| void | Set or clear the current error reporting information for this search box | ||
| void | Set or clear the current error reporting information for this search box | ||
| void | SetOnSaveSearchHandler
(
SFilterSearchBox::FOnSaveSearchClicked InOnSaveSearchHandler |
Show a + button next to the current search and set the handler for when that is clicked | |
| void | SetText
(
const TAttribute< FText >& InNewText |
Sets the text string currently being edited |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| bool | Checks to see if this widget currently has the keyboard focus | ||
| FReply | OnFocusReceived
(
const FGeometry& MyGeometry, |
KEY INPUT Called when focus is given to this widget. This event does not bubble. | |
| FReply | OnPreviewKeyDown
(
const FGeometry& MyGeometry, |
SWidget implementation. | |
| bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |