UCommonUILibrary::FindParentWidgetOfType

Finds the first parent widget of the given type and returns it, or null if no parent could be found.

Windows
MacOS
Linux

References

Module

CommonUI

Header

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonUILibrary.h

Include

#include "CommonUILibrary.h"

Source

/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Private/CommonUILibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Common UI")
static UWidget * FindParentWidgetOfType
(
    UWidget * StartingWidget,
    TSubclassOf< UWidget > Type
)

Remarks

Finds the first parent widget of the given type and returns it, or null if no parent could be found.

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