SAssetSearchBox

A widget to provide a search box with a filtered dropdown menu.

Windows
MacOS
Linux

Inheritance Hierarchy

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.

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Constructs this widget with InArgs

Public function

void

 

SetError

(
    const FText& InError
)

Set or clear the current error reporting information for this search box

Public function

void

 

SetError

(
    const FString& InError
)

Set or clear the current error reporting information for this search box

Public function

void

 

SetText

(
    const TAttribute< FText >& InNewTe...
)

Sets the text string currently being edited

Overridden from SWidget

Name Description

Public function Virtual Const

bool

 

HasKeyboardFocus()

Checks to see if this widget currently has the keyboard focus

Public function Virtual

FReply

 

OnFocusReceived

(
    const FGeometry& MyGeometry,
    const FFocusEvent& InFocusEvent
)

KEY INPUT Called when focus is given to this widget. This event does not bubble.

Public function Virtual

FReply

 

OnPreviewKeyDown

(
    const FGeometry& MyGeometry,
    const FKeyEvent& InKeyEvent
)

SWidget implementation.

Public function Virtual Const

bool

 

SupportsKeyboardFocus()

Checks to see if this widget supports keyboard focus. Override this in derived classes.

Classes

Name

Description

Public struct

FArguments

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss