/Engine/Source/Runtime/SlateCore/Public/SlotBase.h
Access the widget in the current slot. There will always be a widget in the slot; sometimes it is theSNullWidgetinstance.
const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [SWidget](API\Runtime\SlateCore\Widgets\SWidget) > & GetWidget() const