Re: Treeview Row Count

2009-10-20 Thread hugo.riley
xt: http://www.nabble.com/Treeview-Row-Count-tp25593281p25850819.html Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com. ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Treeview Row Count

2009-09-24 Thread dhk
Kristian Rietveld wrote: > Also note that for *lists* (so no parent nodes, no children) a call > like gtk_tree_model_iter_n_children (model, NULL) will suffice. > > > -kris. > > On Thu, Sep 24, 2009 at 1:32 PM, Tadej Borovšak wrote: >> Hello. >> >>> Is there a function to give the number of row

Re: Treeview Row Count

2009-09-24 Thread Kristian Rietveld
Also note that for *lists* (so no parent nodes, no children) a call like gtk_tree_model_iter_n_children (model, NULL) will suffice. -kris. On Thu, Sep 24, 2009 at 1:32 PM, Tadej Borovšak wrote: > Hello. > >> Is there a function to give the number of rows in a treeview? > > You probably want to

Re: Treeview Row Count

2009-09-24 Thread Tadej Borovšak
Hello. > Is there a function to give the number of rows in a treeview? You probably want to know how many lines are in the GtkTreeModel that serves as data source for GtkTreeView. There is no simple function that would serve you this number, so you'll have to take one of the two available paths:

Treeview Row Count

2009-09-24 Thread dhk
Is there a function to give the number of rows in a treeview? Thanks, dhk ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list