Navigation
API > API/Plugins > API/Plugins/CommonUI > API/Plugins/CommonUI/UCommonActivatableWidgetContaine-
Description
Adds an activatable widget instance to the container. This instance is not pooled in any way by the stack and responsibility for ownership lies with the original creator of the widget.
NOTE: In general, it is strongly recommended that you opt for the class-based AddWidget above. This one is mostly just here for legacy support.
| Name | AddWidgetInstance |
| Type | function |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/Widgets/CommonActivatableWidgetContainer.h |
| Include Path | #include "Widgets/CommonActivatableWidgetContainer.h" |
| Source | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Private/Widgets/CommonActivatableWidgetContainer.cpp |
void AddWidgetInstance
(
UCommonActivatableWidget & ActivatableWidget
)