[Gtk-sharp-list] How to count the number of selected rows in a TreeView

Alain Perry sensei@quarkup.org
Mon, 09 Aug 2004 11:43:08 +0100

Le lun 09/08/2004 =E0 13:14, Ra=FAl Moratalla a =E9crit :
> Hi again, this is a simple question. Ia have a treeview and I want to=20
> know the number of rows selected. Is there any method or property?
> I searched in the documentation but i found anything.

treeview.Selection.CountSelectedRows() should fill your need.

Alain Perry