UCommonActivatableWidgetContainerBase::AddWidgetInstance

Adds an activatable widget instance to the container.

Windows
MacOS
Linux

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/Widgets/CommonActivatableWidgetContainer.h

Include

#include "Widgets/CommonActivatableWidgetContainer.h"

Source

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Private/Widgets/CommonActivatableWidgetContainer.cpp

Syntax

void AddWidgetInstance
(
    UCommonActivatableWidget & ActivatableWidget
)

Remarks

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.

In general, it is strongly recommended that you opt for the class-based AddWidget above. This one is mostly just here for legacy support.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss