Francesco, int size = list_store.IterNChildren();
or int size = list_store.IterNChildren (TreeIter.Zero); Should work for you. -pete On Thu, May 20, 2010 at 07:01:01AM -0700, fpiraneo wrote: > > ....without making any foreach loop... may be I'm the only one who needs to > know the size of it's list? :-) > > Bye! > Francesco > -- > View this message in context: > http://mono.1490590.n4.nabble.com/On-a-ListStore-know-how-many-item-it-contains-tp2224588p2224588.html > Sent from the Mono - Gtk# mailing list archive at Nabble.com. > _______________________________________________ > Gtk-sharp-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list > -- _______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
