[Gtk-sharp-list] On a ListStore know how many item it contains....
peter at peterjohanson.com
Thu May 20 10:06:36 EDT 2010
int size = list_store.IterNChildren();
int size = list_store.IterNChildren (TreeIter.Zero);
Should work for you.
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? :-)
> 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 - Gtk-sharp-list at lists.ximian.com
More information about the Gtk-sharp-list