Re: List stores



On Tuesday 26 October 2004 22:55, Matthew Yaconis wrote:

Is there a mechanism to determine the number of rows in a list store?  (In
the old CLists you had to access the structure directly list->rows but I
don't think there is any way to quickly determine that.)

  num_rows = gtk_tree_model_iter_n_children (GTK_TREE_MODEL(liststore), NULL);

Cheers 
 -Tim




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