Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SGridPanel
Description
Dynamically add a new slot to the UI at specified Column and Row. Optionally, specify a layer at which this slot should be added.
| Name | AddSlot |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SGridPanel.h |
| Include Path | #include "Widgets/Layout/SGridPanel.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Layout/SGridPanel.cpp |
FScopedWidgetSlotArguments AddSlot
(
int32 Column,
int32 Row,
Layer InLayer
)
A reference to the newly-added slot