FArguments

Windows
MacOS
Linux

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

Name Description

Public function

FArguments()

Functions

Name Description

Public function

WidgetArgsTy...

 

DelayChangeNotificationsWhileTyping

(
    const TAttribute< bool >& InAttrib...
)

Whether the SearchBox should delay notifying listeners of text changed events until the user is done typing

Public function

WidgetArgsTy...

 

DelayChangeNotificationsWhileTypingSeconds

(
    const TAttribute< float >& InAttri...
)

If we're delaying change notifications how many seconds should we wait?

Public function

WidgetArgsTy...

 

HintText

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

The text displayed in the SearchBox when no text has been entered

Public function

WidgetArgsTy...

 

InitialText

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

The text displayed in the SearchBox when it's created

Public function

WidgetArgsTy...

 

IsSearching

(
    const TAttribute< bool >& InAttrib...
)

Whether or not an external search is currently running.

Public function

WidgetArgsTy...

 

MinDesiredWidth

(
    const TAttribute< float >& InAttri...
)

Minimum width that a text block should be

Public function

WidgetArgsTy...

 

OnKeyDownHandler

(
    const FOnKeyDown& InDelegate
)

Callback delegate to have first chance handling of the OnKeyDown event

Public function

WidgetArgsTy...

 

OnSearch

(
    const FOnSearch& InDelegate
)

This will add a next and previous button to your search box

Public function

WidgetArgsTy...

 

OnTextChanged

(
    const FOnTextChanged& InDelegate
)

Invoked whenever the text changes

Public function

WidgetArgsTy...

 

OnTextCommitted

(
    const FOnTextCommitted& InDelegate
)

Invoked whenever the text is committed (e.g. user presses enter)

Public function

WidgetArgsTy...

 

SearchResultData

(
    const TAttribute< TOptional< FSearc...
)

Optional search result data to be shown in the search bar.

Public function

WidgetArgsTy...

 

SelectAllTextWhenFocused

(
    const TAttribute< bool >& InAttrib...
)

Whether to select all text when the user clicks to give focus on the widget

Public function

WidgetArgsTy...

 

Style

(
    const FSearchBoxStyle* InArg
)

Style used to draw this search box

Typedefs

Name

Description

WidgetArgsType

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