/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h
Gathers all the widgets in the tree recursively
void GetAllWidgets ( [TArray](API\Runtime\Core\Containers\TArray)< [UWidget](API\Runtime\UMG\Components\UWidget) * > & Widgets ) const