Rows in a treeview

2005-10-24 Thread Jorge Monsalvo
I know it is a silly question, but How can I know the number of rows are in a treeview? Thank you Jorge Monsalvo Argentina ___ 1GB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del

Re: Rows in a treeview

2005-10-24 Thread Eduardo M KALINOWSKI
Jorge Monsalvo wrote: >I know it is a silly question, but How can I know the number of rows are in >a treeview? > > Use gtk_tree_model_iter_n_children() passing NULL as the iter. http://developer.gnome.org/doc/API/2.0/gtk/GtkTreeModel.html#gtk-tree-model-iter-n-children -- I kissed my first gi