Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/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/Developer/ToolWidgets/Public/SSearchableComboBox.h |
| Include Path | #include "SSearchableComboBox.h" |
| Source | /Engine/Source/Developer/ToolWidgets/Private/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) |