/Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/Accessibility/GenericAccessibleInterfaces.h
Returns the first instance of a next widget in the accessible hierarchy from a source widget that satisfies a search criteria. If the passed in source widget does not have any next widgets or if there are no next widgets that satisfy the search criteria, nullptr is returned. The search criteria can be either a functor or lambda that acts as a predicate. It must return a bool and take in a constTSharedRef& as an argument.
The first instance of a next widget from the source widget that satisfies the search criteria.
template<typename PredicateType> static [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [IAccessibleWidget](API\Runtime\ApplicationCore\GenericPlatform\Accessibility\IAccessibleWidget) > SearchForNextWidgetInHierarchyFrom ( const [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [IAccessibleWidget](API\Runtime\ApplicationCore\GenericPlatform\Accessibility\IAccessibleWidget) > & Source, PredicateType Predicate )