Choose your operating system:
Windows
macOS
Linux
| SPanel | ||||||
| IMenuHost
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Input/SComboBox.h |
Include |
#include "Widgets/Input/SComboBox.h" |
template<typename OptionType>
class SComboBox : public SComboButton
A combo box that shows arbitrary content.
Name | Description | |
---|---|---|
|
SComboBox() |
Name | Description | ||
---|---|---|---|
|
ClearSelection() |
||
|
Construct ( |
Construct the widget from a declaration |
|
|
NullableOpti... |
GetSelectedItem() |
|
|
RefreshOptions() |
Requests a list refresh after updating options Call SetSelectedItem to update the selected item if required |
|
|
SetSelectedItem ( |
Name | Description | ||
---|---|---|---|
|
TSharedRef< ... |
CreateAccessibleWidget() |
|
|
GetDefaultAccessibleText ( |
Assign AccessibleText with a default value that can be used when AccessibleBehavior is set to Auto or Custom. |
|
|
IsInteractable() |
||
|
OnKeyDown |
Handle key presses that SListView ignores |
|
|
SupportsKeyboardFocus() |
Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Name |
Description |
|
---|---|---|
|
FArguments |
|
|
FSlateAccessibleComboBox |
An accessible implementation of SComboBox to expose to platform accessibility APIs. |
Name |
Description |
---|---|
FOnGenerateWidget |
Delegate type used to generate widgets that represent Options |
FOnSelectionChanged |
|
ListTypeTraits |
|
NullableOptionType |
|
SComboListType |
Type of list used for showing menu options. |