![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <SComboBox.h>
Inheritance diagram for SComboBox< OptionType >:Public Types | |
| typedef TListTypeTraits< OptionType > | ListTypeTraits |
| typedef TListTypeTraits< OptionType >::NullableType | NullableOptionType |
| typedef SListView< OptionType > | SComboListType |
| typedef TSlateDelegates< OptionType >::FOnGenerateWidget | FOnGenerateWidget |
| typedef TSlateDelegates< NullableOptionType >::FOnSelectionChanged | FOnSelectionChanged |
Protected Member Functions | |
| FReply | OnKeyDown (const FGeometry &MyGeometry, const FKeyEvent &InKeyEvent) override |
| virtual bool | SupportsKeyboardFocus () const override |
| virtual bool | IsInteractable () const |
Protected Member Functions inherited from SComboButton | |
| SLATE_API FText | GetFilteredToolTipText (TAttribute< FText > ToolTipText) const |
Additional Inherited Members | |
Protected Attributes inherited from SComboButton | |
| SHorizontalBox::FSlot * | ButtonContentSlot |
| FOnComboBoxOpened | OnComboBoxOpened |
| TWeakPtr< SWidget > | WidgetToFocusPtr |
| const FSlateBrush * | MenuBorderBrush |
| FMargin | MenuBorderPadding |
| TWeakPtr< SWidget > | ContentWidgetPtr |
| bool | bIsFocusable |
A combo box that shows arbitrary content.
| typedef TSlateDelegates<OptionType>::FOnGenerateWidget SComboBox< OptionType >::FOnGenerateWidget |
Delegate type used to generate widgets that represent Options
| typedef TSlateDelegates<NullableOptionType>::FOnSelectionChanged SComboBox< OptionType >::FOnSelectionChanged |
| typedef TListTypeTraits< OptionType > SComboBox< OptionType >::ListTypeTraits |
| typedef TListTypeTraits<OptionType>::NullableType SComboBox< OptionType >::NullableOptionType |
| typedef SListView< OptionType > SComboBox< OptionType >::SComboListType |
Type of list used for showing menu options.
|
inline |
|
inline |
Clears current item source
|
inline |
|
inline |
Slot for this button's content (optional) The visual style of the button part of the combo box (overrides ComboBoxStyle) Called when combo box is opened, before list is actually created The custom scrollbar to use in the ListView The option that should be selected when the combo box is first created The max height of the combo box menu The sound to play when the button is pressed (overrides ComboBoxStyle) The sound to play when the selection changes (overrides ComboBoxStyle) When false, the down arrow is not generated and it is up to the API consumer to make their own visual hint that this is a drop down. When false, directional keys will change the selection. When true, ComboBox must be activated and will only capture arrow input while activated. When true, allows the combo box to receive keyboard focus True if this combo's menu should be collapsed when our parent receives focus, false (default) otherwise Construct the widget from a declaration
| InArgs | Declaration from which to construct the combo box |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
|
inlineoverrideprotectedvirtual |
Handle key presses that SListView ignores
Reimplemented from SComboButton.
|
inline |
Requests a list refresh after updating options Call SetSelectedItem to update the selected item if required
|
inline |
|
inline |
Sets new item source
|
inline |
Sets new item source
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverrideprotectedvirtual |