Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/SlotBase.h |
Include |
#include "SlotBase.h" |
Source |
/Engine/Source/Runtime/SlateCore/Private/SlotBase.cpp |
const TSharedPtr< SWidget > DetachWidget()
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.