Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UPanelWidget > API/Runtime/UMG/Components/UPanelWidget/AddChild
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/PanelWidget.h |
| Include | #include "Components/PanelWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/PanelWidget.cpp |
UFUNCTION (BlueprintCallable, Category="Widget|Panel")
UPanelSlot * AddChild
(
UWidget * Content
)
Remarks
Adds a new child widget to the container. Returns the base slot type, requires casting to turn it into the type specific to the container.