public void selected_foreach
Calls a function for each selected node.
Note that you cannot modify the tree or selection from within this function. As a result,
get_selected_rows might be more useful.
The function to call for each selected node.
user data to pass to the function.