Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/FSlotBase
Description
Remove the widget from its current slot. The removed widget is returned so that operations could be performed on it. If the null widget was being stored, an invalid shared ptr is returned instead.
| Name | DetachWidget |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/SlotBase.h |
| Include Path | #include "SlotBase.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/SlotBase.cpp |
const TSharedPtr < SWidget > DetachWidget()