FSlotBase::DetachWidget

Remove the widget from its current slot.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/SlotBase.h

Include

#include "SlotBase.h"

Source

/Engine/Source/Runtime/SlateCore/Private/SlotBase.cpp

Syntax

const TSharedPtr< SWidget > DetachWidget()

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss