Choose your operating system:
Windows
macOS
Linux
| FSlateControlledConstruction | ||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Input/SSegmentedControl.h |
Include |
#include "Widgets/Input/SSegmentedControl.h" |
template<typename OptionType>
class SSegmentedControl : public SCompoundWidget
A Slate Segmented Control is functionally similar to a group of Radio Buttons. Slots require a templated value to return when the segment is selected by the user. Users can specify text, icon or provide custom content to each Segment.
It is currently not possible to add segments after initialization (i.e. there is no AddSlot).
Name | Description | |
---|---|---|
|
SSegmentedControl() |
Name | Description | ||
---|---|---|---|
|
FScopedWidge... |
AddSlot ( |
|
|
Construct ( |
||
|
TSharedPtr< ... |
Create ( |
|
|
OptionType |
GetValue() |
|
|
TArray< Opti... |
GetValues() |
|
|
HasValue ( |
||
|
NumSlots() |
||
|
RebuildChildren() |
||
|
SetValue ( |
See the Value attribute |
|
|
SetValues ( |
See the Values attribute |
|
|
FSlot::FSlot... |
Slot ( |
Name |
Description |
|
---|---|---|
|
FArguments |
|
|
FSlot |
Stores the per-child info for this panel type |
Name |
Description |
---|---|
FOnValueChanged |
|
FOnValueChecked |
|
FOnValuesChanged |
|
FScopedWidgetSlotArguments |
Slot Management. |