Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets
Inheritance Hierarchy
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
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FChildren& SlotOwner, |
||
| void | SetClampBuffer
(
TAttribute< FVector2D > InClampBuffer_Attribute |
If this slot is kept within the parent window, how far from the edges should we clamp it | |
| void | SetClampToWindow
(
TAttribute< bool > InClamp_Attribute |
Should this slot be kept within the parent window | |
| void | SetDesktopPosition
(
TAttribute< FVector2D > InDesktopPosition |
Pixel position in desktop space | |
| void | SetHeightOverride
(
TAttribute< float > InHeightOverride |
Width override in pixels | |
| void | SetScale
(
TAttribute< float > InScale |
DPI scaling to be applied to the contents of this slot | |
| void | SetWidthOverride
(
TAttribute< float > InWidthOverride |
Width override in pixels |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSlotArguments |