FPopupLayerSlot

Popups, tooltips, drag and drop decorators all can be executed without creating a new window.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FSlotBase

TSlotBase

FPopupLayerSlot

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h

Include

#include "Widgets/SWindow.h"

Syntax

struct FPopupLayerSlot : public TSlotBase< FPopupLayerSlot >

Remarks

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.

Constructors

Name Description

Public function

FPopupLayerSlot()

Functions

Name Description

Public function

void

 

Construct

(
    const FChildren& SlotOwner,
    FSlotArguments&& InArgs
)

Public function

void

 

SetClampBuffer

(
    TAttribute< FVector2D > InClampBuff...
)

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

Public function

void

 

SetClampToWindow

(
    TAttribute< bool > InClamp_Attribut...
)

Should this slot be kept within the parent window

Public function

void

 

SetDesktopPosition

(
    TAttribute< FVector2D > InDesktopPo...
)

Pixel position in desktop space

Public function

void

 

SetHeightOverride

(
    TAttribute< float > InHeightOverrid...
)

Width override in pixels

Public function

void

 

SetScale

(
    TAttribute< float > InScale
)

DPI scaling to be applied to the contents of this slot

Public function

void

 

SetWidthOverride

(
    TAttribute< float > InWidthOverride
)

Width override in pixels

Classes

Name

Description

Public struct

FSlotArguments