Navigation
API > API/Runtime > API/Runtime/SlateCore
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.
| Name | FPopupLayerSlot |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWindow.h |
| Include Path | #include "Widgets/SWindow.h" |
Syntax
struct FPopupLayerSlot : public TSlotBase< FPopupLayerSlot >
Inheritance Hierarchy
- FSlotPosition → FSlotBase → TSlotBase → FPopupLayerSlot
- FSlotBase → TSlotBase → FPopupLayerSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPopupLayerSlot() |
Widgets/SWindow.h |
Structs
| Name | Remarks |
|---|---|
| FSlotArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Clamp_Attribute | TAttribute< bool > | Widgets/SWindow.h | ||
| ClampBuffer_Attribute | TAttribute< FVector2D > | Widgets/SWindow.h | ||
| DesktopPosition_Attribute | TAttribute< FVector2D > | Widgets/SWindow.h | ||
| HeightOverride_Attribute | TAttribute< float > | Widgets/SWindow.h | ||
| Scale_Attribute | TAttribute< float > | Widgets/SWindow.h | ||
| WidthOverride_Attribute | TAttribute< float > | Widgets/SWindow.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FChildren& SlotOwner, |
Widgets/SWindow.h | ||
void SetClampBuffer
(
TAttribute< FVector2D > InClampBuffer_Attribute |
If this slot is kept within the parent window, how far from the edges should we clamp it | Widgets/SWindow.h | |
void SetClampToWindow
(
TAttribute< bool > InClamp_Attribute |
Should this slot be kept within the parent window | Widgets/SWindow.h | |
void SetDesktopPosition
(
TAttribute< FVector2D > InDesktopPosition |
Pixel position in desktop space | Widgets/SWindow.h | |
void SetHeightOverride
(
TAttribute< float > InHeightOverride |
Width override in pixels | Widgets/SWindow.h | |
void SetScale
(
TAttribute< float > InScale |
DPI scaling to be applied to the contents of this slot | Widgets/SWindow.h | |
void SetWidthOverride
(
TAttribute< float > InWidthOverride |
Width override in pixels | Widgets/SWindow.h |