Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/ComboBoxKey.h |
Include |
#include "Components/ComboBoxKey.h" |
class UComboBoxKey : public UWidget
The combobox allows you to display a list of options to the user in a dropdown menu for them to select one. Use OnGenerateConentWidgetEvent to return a custom built widget.
Name | Description | ||
---|---|---|---|
|
bEnableGamepadNavigationMode |
When false, directional keys will change the selection. |
|
|
bHasDownArrow |
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. |
|
|
bIsFocusable |
When true, allows the combo box to receive keyboard focus |
|
|
ContentPadding |
||
|
ForegroundColor |
The foreground color to pass through the hierarchy. |
|
|
ItemStyle |
The item row style. |
|
|
float |
MaxListHeight |
The max height of the combobox list that opens |
|
OnGenerateContentWidget |
Called when the widget is needed for the content. |
|
|
OnGenerateItemWidget |
Called when the widget is needed for the item. |
|
|
OnOpening |
Called when the combobox is opening |
|
|
OnSelectionChanged |
Called when a new item is selected in the combobox. |
|
|
WidgetStyle |
The combobox style. |
Name | Description | |
---|---|---|
|
UComboBoxKey() |
Name | Description | ||
---|---|---|---|
|
AddOption ( |
Add an element to the option list. |
|
|
ClearOptions() |
Remove all the elements of the option list. |
|
|
ClearSelection() |
Clear the current selection. |
|
|
GetSelectedOption() |
Get the current selected option |
|
|
IsOpen() |
Is the combobox menu openned. |
|
|
RemoveOption ( |
Remove an element to the option list. |
|
|
SetSelectedOption ( |
Set the current selected option. |
Name | Description | ||
---|---|---|---|
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name |
Description |
|
---|---|---|
|
FGenerateWidgetEvent |
|
|
FOnOpeningEvent |
|
|
FOnSelectionChangedEvent |