/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h
Gets the parent widget of a given widget, and potentially the child index.
static [UPanelWidget](API\Runtime\UMG\Components\UPanelWidget) * FindWidgetParent ( [UWidget](API\Runtime\UMG\Components\UWidget) * Widget, int32 & OutChildIndex )