Gtk.TreeSelection.SelectedForeach Method
Invokes the delegate passed in by func for each selected row in the Gtk.TreeView.

Syntax

public void SelectedForeach (TreeSelectionForeachFunc func)

Parameters

func
The delegate that should be called for each selected row.

Remarks

This method is useful when the TreeSelection.Mode of this TreeSelection is set to Selection.Multiple. It is currently the only way to access selection information for multiple rows. See the class overview for an example on how to effectively use this method for selection tracking.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)