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