Navigation
Unreal Engine C++ API Reference > Editor > EditorWidgets
Inheritance Hierarchy
References
Module | EditorWidgets |
Header | /Engine/Source/Editor/EditorWidgets/Public/SAssetSearchBox.h |
Include | #include "SAssetSearchBox.h" |
Syntax
class SAssetSearchBox : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\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 | SetError ( const FText& InError ) | Set or clear the current error reporting information for this search box |
void | SetError ( const FString& InError ) | Set or clear the current error reporting information for this search box |
void | SetOnSaveSearchHandler ( SFilterSearchBox::FOnSaveSearchClic... ) | Show a + button next to the current search and set the handler for when that is clicked |
void | SetText ( const TAttribute< FText >& InNewTe... ) | Sets the text string currently being edited |
Overridden from SWidget
Type | Name | Description |
---|---|---|
bool | HasKeyboardFocus () | Checks to see if this widget currently has the keyboard focus |
FReply | OnFocusReceived ( const FGeometry& MyGeometry, const FFocusEvent& InFocusEvent ) | KEY INPUT Called when focus is given to this widget. This event does not bubble. |
FReply | OnPreviewKeyDown ( const FGeometry& MyGeometry, const FKeyEvent& InKeyEvent ) | SWidget implementation. |
bool | SupportsKeyboardFocus () | Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Classes
Type | Name | Description |
---|---|---|
Public struct | FArguments |