find

open fun find(filter: Predicate<Widget>, startInterfacePath: Array<Int>): Optional<Widget>

Walks the tree of widget, starting with the widget provided by the given path. If no path is given, it walks through all widget. The walking is done depth-first. The first interface to match the filter is returned.