Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SWidgetSwitcher
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWidgetSwitcher.h |
| Include | #include "Widgets/Layout/SWidgetSwitcher.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Layout/SWidgetSwitcher.cpp |
int32 GetWidgetIndex
&40;
TSharedRef< SWidget > Widget
&41; const
Remarks
Gets the slot index of the specified widget. The slot index, or INDEX_NONE if the widget does not exist.
Parameters
| Name | Description |
|---|---|
| Widget | The widget to get the index for. |