Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UComboBox
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/ComboBox.h |
| Include | #include "Components/ComboBox.h" |
Syntax
class UComboBox : public UWidget
Remarks
The combobox allows you to display a list of options to the user in a dropdown menu for them to select one.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bIsFocusable | ||
| TArray< TObjectPtr< UObject > > | Items | The list of items to be displayed on the combobox. | |
| TSharedPtr< SComboBox< UObject * > > | MyComboBox | ||
| FGenerateWidgetForObject | OnGenerateWidgetEvent | Called when the widget is needed for the item. | |
| FScrollBarStyle | ScrollBarStyle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UComboBox
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< SWidget > | HandleGenerateWidget
(
UObject* Item |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |