Navigation
API > API/Plugins > API/Plugins/CommonUI
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonUIUtils.h |
| Include | #include "CommonUIUtils.h" |
namespace CommonUIUtils
{
template<typename UserWidgetT>
UserWidgetT &42; CommonUIUtils&58;&58;GetOwningUserWidget
&40;
const UWidget &42; Widget
&41;
}
Remarks
Traverses the UserWidgets that the given widget resides in until we find one matching the given type (or we run out of parents) The first parent of the given type, or nullptr if there is none
Parameters
| Name | Description |
|---|---|
| Widget | The widget whose parent we're seeking |