SComboBox

A combo box that shows arbitrary content.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Input/SComboBox.h

Include

#include "Widgets/Input/SComboBox.h"

Syntax

template<typename OptionType>
class SComboBox : public SComboButton

Remarks

A combo box that shows arbitrary content.

Functions

Name Description

Public function

void

 

ClearSelection()

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Construct the widget from a declaration

Public function

NullableOpti...

 

GetSelectedItem()

Public function

void

 

RefreshOptions()

Requests a list refresh after updating options Call SetSelectedItem to update the selected item if required

Public function

void

 

SetSelectedItem

(
    NullableOptionType InSelectedItem
)

Overridden from SWidget

Name Description

Protected function Virtual Const

bool

 

IsInteractable()

Protected function Virtual

FReply

 

OnKeyDown

(
    const FGeometry& MyGeometry,
    const FKeyEvent& InKeyEvent
)

Handle key presses that SListView ignores

Protected 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

Typedefs

Name

Description

FOnGenerateWidget

Delegate type used to generate widgets that represent Options

FOnSelectionChanged

NullableOptionType

SComboListType

Type of list used for showing menu options.

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