Choose your operating system:
Windows
macOS
Linux
| FSlateControlledConstruction | ||||||||
| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWidgetSwitcher.h |
Include |
#include "Widgets/Layout/SWidgetSwitcher.h" |
class SWidgetSwitcher : public SPanel
Implements a widget switcher.
A widget switcher is like a tab control, but without tabs. At most one widget is visible at time.
Name | Description | |
---|---|---|
|
SWidgetSwitcher() |
Name | Description | ||
---|---|---|---|
|
FScopedWidge... |
AddSlot ( |
Adds a slot to the widget switcher at the specified location. |
|
Construct ( |
Constructs the widget. |
|
|
const FSlot ... |
GetActiveSlot() |
|
|
TSharedPtr< ... |
GetActiveWidget() |
Gets the active widget. |
|
GetActiveWidgetIndex() |
Gets the slot index of the currently active widget. |
|
|
GetNumWidgets() |
Gets the number of widgets that this switcher manages. |
|
|
TPanelChildr... |
GetTypedChildren() |
|
|
TSharedPtr< ... |
GetWidget ( |
Gets the widget in the specified slot. |
|
GetWidgetIndex ( |
Gets the slot index of the specified widget. |
|
|
RemoveSlot ( |
Removes a slot with the corresponding widget in it. |
|
|
SetActiveWidget ( |
Sets the active widget. |
|
|
SetActiveWidgetIndex ( |
Activates the widget at the specified index. |
|
|
FSlot::FSlot... |
Slot() |
Creates a new widget slot. |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. |
|
|
ComputeVolatility() |
Recomputes the volatility of the widget. |
|
|
FChildren &#... |
GetChildren() |
All widgets must provide a way to access their children in a layout-agnostic way. |
|
OnArrangeChildren ( |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
|
|
ValidatePathToChild ( |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
FScopedWidgetSlotArguments |
|
FSlot |