TreeSelection.selectedForeach

void selectedForeach(gtk.types.TreeSelectionForeachFunc func)

Calls a function for each selected node. Note that you cannot modify the tree or selection from within this function. As a result, [gtk.tree_selection.TreeSelection.getSelectedRows] might be more useful.

Parameters

funcThe function to call for each selected node.