FSlotBase::GetOwnerWidget

Access the widget that own the slot. The owner can be invalid when the slot is not attached.

Choose your operating system:

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

SWidget * GetOwnerWidget() const

Remarks

Access the widget that own the slot. The owner can be invalid when the slot is not attached.