Re: Problem with GtkTreeModel, simultaneous iterating and append

2003-10-21 Thread Boszormenyi Zoltan
Thanks, but problem solved in the meantime. edscott wilson garcia rta: Probably a hack but... if you append the row to a treepath greater than that of the iterator, no problem. But if you append it to a path less than that represented by the iterator, the iterator will be knocked off track.

Re: Problem with GtkTreeModel, simultaneous iterating and append

2003-10-21 Thread edscott wilson garcia
On Mon, 2003-10-20 at 08:49, Boszormenyi Zoltan wrote: Hi, is it possible to append a row to a TreeModel while having an iterator going through the same model? Probably a hack but... if you append the row to a treepath greater than that of the iterator, no problem. But if you append it to a

Problem with GtkTreeModel, simultaneous iterating and append

2003-10-20 Thread Boszormenyi Zoltan
Hi, is it possible to append a row to a TreeModel while having an iterator going through the same model? I have a code snippet that does just the same, the second time the code runs the second gtk_tree_model_get_iter_first() seems to succeed but gives an invalid iterator, as I get invalid values.