Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SWrapBox
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWrapBox.h |
| Include | #include "Widgets/Layout/SWrapBox.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Layout/SWrapBox.cpp |
int32 RemoveSlot
&40;
const TSharedRef< SWidget > & SlotWidget
&41;
Remarks
Removes a slot from this box panel which contains the specified SWidget The index in the children array where the slot was removed and -1 if no slot was found matching the widget
Parameters
| Name | Description |
|---|---|
| SlotWidget | The widget to match when searching through the slots |