Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SSearchableComboBox
Description
Sets the selected item. By default, registers as a navigation request, which does not set the cached selected item, only updating the visually selected item.
| Name | SetSelectedItem |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SSearchableComboBox.h |
| Include Path | #include "Widgets/Input/SSearchableComboBox.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Input/SSearchableComboBox.cpp |
void SetSelectedItem
(
TSharedPtr < FString > InSelectedItem,
ESelectInfo::Type InSelectInfo
)
Parameters
| Name | Remarks |
|---|---|
| InSelectedItem | Item to select |
| InSelectInfo | (optional) How the selected item is being committed (default: OnNavigation) |