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

Raúl Moratalla raul.moratalla@ono.com
Mon, 09 Aug 2004 13:00:11 +0000


Alain Perry escribió:
> Le lun 09/08/2004 à 13:14, Raúl Moratalla a écrit :
> 
>>Hi again, this is a simple question. Ia have a treeview and I want to 
>>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.
> 

Sorry, I have a treeview and I want to know the number of rows in all 
the treeview (not only the selected rows, sorry).


Cheers,

Raúl