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 RemoveSlot
&40;
TSharedRef< SWidget > WidgetToRemove
&41;
Remarks
Removes a slot with the corresponding widget in it. Returns the index where the widget was found, otherwise -1.
Parameters
| Name | Description |
|---|---|
| Widget | The widget to find and remove. |