UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FPopupLayerSlot Struct Reference

#include <SWindow.h>

+ Inheritance diagram for FPopupLayerSlot:

Public Member Functions

 FPopupLayerSlot ()
 
void Construct (const FChildren &SlotOwner, FSlotArguments &&InArgs)
 
void SetDesktopPosition (TAttribute< FVector2D > InDesktopPosition)
 
void SetWidthOverride (TAttribute< float > InWidthOverride)
 
void SetHeightOverride (TAttribute< float > InHeightOverride)
 
void SetScale (TAttribute< float > InScale)
 
void SetClampToWindow (TAttribute< bool > InClamp_Attribute)
 
void SetClampBuffer (TAttribute< FVector2D > InClampBuffer_Attribute)
 
- Public Member Functions inherited from TSlotBase< FPopupLayerSlot >
FPopupLayerSlotoperator[] (TSharedRef< SWidget > &&InChildWidget)
 
FPopupLayerSlotoperator[] (const TSharedRef< SWidget > &InChildWidget)
 
FPopupLayerSlotExpose (FPopupLayerSlot *&OutVarToInit)
 
void Construct (const FChildren &SlotOwner, FSlotArguments &&InArgs)
 
SLATECORE_API FSlotBase ()
 
SLATECORE_API FSlotBase (const FChildren &InParent)
 
SLATECORE_API FSlotBase (const TSharedRef< SWidget > &InWidget)
 
 FSlotBase (const FSlotBase &)=delete
 
- Public Member Functions inherited from FSlotBase
SLATECORE_API FSlotBase ()
 
SLATECORE_API FSlotBase (const FChildren &InParent)
 
SLATECORE_API FSlotBase (const TSharedRef< SWidget > &InWidget)
 
FSlotBaseoperator= (const FSlotBase &)=delete
 
 FSlotBase (const FSlotBase &)=delete
 
virtual SLATECORE_API ~FSlotBase ()
 
const FChildrenGetOwner () const
 
SLATECORE_API SWidgetGetOwnerWidget () const
 
SLATECORE_API void SetOwner (const FChildren &Children)
 
void AttachWidget (TSharedRef< SWidget > &&InWidget)
 
void AttachWidget (const TSharedRef< SWidget > &InWidget)
 
const TSharedRef< SWidget > & GetWidget () const
 
SLATECORE_API const TSharedPtr< SWidgetDetachWidget ()
 
SLATECORE_API void Invalidate (EInvalidateWidgetReason InvalidateReason)
 

Friends

class SPopupLayer
 
class TPanelChildren< FPopupLayerSlot >
 

Additional Inherited Members

- Public Types inherited from TSlotBase< FPopupLayerSlot >
enum  EConstructSlotIsFChildren
 
- Protected Member Functions inherited from FSlotBase
template<typename TargetValueType , typename SourceValueType >
bool SetAttribute (TAttribute< TargetValueType > &TargetValue, const TAttribute< SourceValueType > &SourceValue, EInvalidateWidgetReason BaseInvalidationReason)
 

Detailed Description

Popups, tooltips, drag and drop decorators all can be executed without creating a new window. This slot along with the SWindow::AddPopupLayerSlot() API enabled it.

Constructor & Destructor Documentation

◆ FPopupLayerSlot()

FPopupLayerSlot::FPopupLayerSlot ( )
inline

Member Function Documentation

◆ Construct()

void FPopupLayerSlot::Construct ( const FChildren SlotOwner,
FSlotArguments &&  InArgs 
)
inline

Pixel position in desktop space Width override in pixels Width override in pixels DPI scaling to be applied to the contents of this slot Should this slot be kept within the parent window If this slot is kept within the parent window, how far from the edges should we clamp it

◆ SetClampBuffer()

void FPopupLayerSlot::SetClampBuffer ( TAttribute< FVector2D InClampBuffer_Attribute)
inline

If this slot is kept within the parent window, how far from the edges should we clamp it

◆ SetClampToWindow()

void FPopupLayerSlot::SetClampToWindow ( TAttribute< bool InClamp_Attribute)
inline

Should this slot be kept within the parent window

◆ SetDesktopPosition()

void FPopupLayerSlot::SetDesktopPosition ( TAttribute< FVector2D InDesktopPosition)
inline

Pixel position in desktop space

◆ SetHeightOverride()

void FPopupLayerSlot::SetHeightOverride ( TAttribute< float InHeightOverride)
inline

Width override in pixels

◆ SetScale()

void FPopupLayerSlot::SetScale ( TAttribute< float InScale)
inline

DPI scaling to be applied to the contents of this slot

◆ SetWidthOverride()

void FPopupLayerSlot::SetWidthOverride ( TAttribute< float InWidthOverride)
inline

Width override in pixels

Friends And Related Symbol Documentation

◆ SPopupLayer

friend class SPopupLayer
friend

SPopupLayer arranges FPopupLayerSlots, so it needs to know all about

◆ TPanelChildren< FPopupLayerSlot >

TPanelChildren need access to the Widget member


The documentation for this struct was generated from the following file: