buildPathToLeaf

Tests all root's children with pred. Then calls itself with found child. Adds widgets satisfying pred to returned array. Root widget is added first. Can be used to find widget that is under cursor

Widget[]
buildPathToLeaf
(
alias pred
T...
)
(
Widget root
,)

Meta