Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input > API/Runtime/Slate/Widgets/Input/SSegmentedControl
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SSegmentedControl::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SSegmentedControl.h |
| Include | #include "Widgets/Input/SSegmentedControl.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SSegmentedControl< OptionType > >
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< typename FSlot::FSlotArguments > | _Slots | Slot type supported by this panel |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | MaxSegmentsPerLine
(
int32 InArg |
Optional maximum number of segments per line before the control wraps vertically to the next line. | |
| WidgetArgsType & | OnValueChanged
(
const FOnValueChanged& InDelegate |
Called when the (primary) value is changed | |
| WidgetArgsType & | OnValueChecked
(
const FOnValueChecked& InDelegate |
Called when the value is changed (useful for multi selection) | |
| WidgetArgsType & | OnValuesChanged
(
const FOnValuesChanged& InDelegate |
Called when the any value is changed | |
| WidgetArgsType & | Style
(
const FSegmentedControlStyle* InArg |
Styling for this control | |
| WidgetArgsType & | SupportsEmptySelection
(
bool InArg |
If enabled the widget will support an empty selection. | |
| WidgetArgsType & | SupportsMultiSelection
(
bool InArg |
If enabled the widget will support multi selection. | |
| WidgetArgsType & | TextStyle
(
const FTextBlockStyle* InArg |
Styling for the text in each slot. | |
| WidgetArgsType & | UniformPadding
(
const TAttribute< FMargin >& InAttribute |
Padding to apply to each slot | |
| WidgetArgsType & | Value
(
const TAttribute< OptionType >& InAttribute |
The current control value. | |
| WidgetArgsType & | Values
(
const TAttribute< TArray< OptionType > >& InAttribute |
The current (multiple) control values (if SupportsMultiSelection is enabled) |
Operators
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | operator+
(
typename FSlot::FSlotArguments& SlotToAdd |
||
| WidgetArgsType & | operator+
(
typename FSlot::FSlotArguments&& SlotToAdd |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |