Re: Tree Iter?



El mar, 21-09-2004 a las 10:59, Thijs Assies escribiÃ:
Hi, i am working on a program en i have a problem:

(...) 

/* it works so far, when i add prinf("%s\n",frm_temp->title);
 * it displays the title, but from here it goes wrong */

gtk_tree_store_append(store, &(frm_temp->iter), &(temp->iter));
gtk_tree_store_set(store, &(temp->iter), NAME_COLLUMN, temp->title,-1);

I think that maybe what you wanted to do is:

  gtk_tree_store_append(store, &(temp->iter), &(frm_temp->iter));

Because frm_temp->iter it seems to be the parent.

Anyway, i'm not sure if you can store a GtkTreeIter and use it anytime
you want.


Saludos, 

Claudio.







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