Re: Rows in a treeview



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 girl and smoked my first cigarette on the same day.
I haven't had time for tobacco since.
                -- Arturo Toscanini

Eduardo M KALINOWSKI
ekalin bol com br
http://move.to/hpkb




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]