Navigation
API > API/Runtime > API/Runtime/Slate
A widget which allows the user to enter a digit or choose a number from a drop down menu.
| Name | SNumericDropDown |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SNumericDropDown.h |
| Include Path | #include "Widgets/Input/SNumericDropDown.h" |
Syntax
template<typename NumericType>
class SNumericDropDown : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SNumericDropDown
- FSlateControlledConstruction → SWidget → SCompoundWidget → SNumericDropDown
Classes
| Name | Remarks |
|---|---|
| FNamedValue | Represents a named numeric value for display in the drop down menu. |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnValueChanged | TBaseDelegate_OneParam< void, NumericType > | Widgets/Input/SNumericDropDown.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShowNamedValue | TAttribute< bool > | Widgets/Input/SNumericDropDown.h | ||
| DropDownValues | TArray< FNamedValue > | Widgets/Input/SNumericDropDown.h | ||
| LabelText | TAttribute< FText > | Widgets/Input/SNumericDropDown.h | ||
| OnValueChanged | FOnValueChanged | Widgets/Input/SNumericDropDown.h | ||
| Orientation | TAttribute< EOrientation > | Widgets/Input/SNumericDropDown.h | ||
| Value | TAttribute< NumericType > | Widgets/Input/SNumericDropDown.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Widgets/Input/SNumericDropDown.h |