[Gtk-sharp-list] On a ListStore know how many item it contains....

Pop Qvarnström pop.qvarnstrom at gmail.com
Thu May 20 10:08:30 EDT 2010


That would be

IterNChildren() : int
Returns the number of children that the toplevel node has. Is used to
retrieve the number of rows in the Gtk.ListStore.

Cheers,
Pop
On Thu, May 20, 2010 at 4:01 PM, fpiraneo <fpiraneo at iface.ch> 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  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20100520/38ef4282/attachment.html 


More information about the Gtk-sharp-list mailing list