How to build a GtkTree?

2007-05-26 Thread Guenther Meyer
hi, I have another problem; I did read the documentation about it but I'm a little bit confused about these iter/path things. What I like to do, is building a tree from some data, that is available in the following format: "catA" "CatB" "CatB.a" "CatB.b" "CatB.a.x" "CatC" "CatC.q" "CatC.q.1" "

Re: How to build a GtkTree?

2007-05-26 Thread Guenther Meyer
Am Samstag 26 Mai 2007 schrieben Sie: > You need to insert rows with parents. > Take a look at the definition of: > gtk_tree_store_insert () > > if parent is null, the row will be a "root" row... if parent is > non-null the row will be a child of parent. > Yes, I know that. Maybe I have asked the w

Re: How to build a GtkTree?

2007-05-26 Thread Yeti
On Sat, May 26, 2007 at 04:17:58PM +0200, Guenther Meyer wrote: > Am Samstag 26 Mai 2007 schrieben Sie: > > You need to insert rows with parents. > > Take a look at the definition of: > > gtk_tree_store_insert () > > > > if parent is null, the row will be a "root" row... if parent is > > non-null t

Re: How to build a GtkTree?

2007-05-27 Thread Guenther Meyer
Am Samstag 26 Mai 2007 schrieb David Nečas: > You know it. In the example it's either the same parent > iter as you used in the last insertion or it is the iter you > *obtained* in the last insertion. If you want to go up > a level, use gtk_tree_model_iter_parent(). > sure, I know the iter of the

Re: How to build a GtkTree?

2007-06-13 Thread Michelle Konzack
Hello Guenther, I have read the thread and I have the same proble, since YOUR structure is exactly the same as the Maildir format :-) I have problems getting the parent itter... ...and then, if a tree is there and in the server sice appear a new directory HOW to add this to the existing tree?

Re: How to build a GtkTree?

2007-06-13 Thread JAMES SCOTT
sage From: Michelle Konzack <[EMAIL PROTECTED]> To: gtk-app-devel-list@gnome.org Sent: Wednesday, June 13, 2007 12:59:08 PM Subject: Re: How to build a GtkTree? Hello Guenther, I have read the thread and I have the same proble, since YOUR structure is exactly the same as the Maildir format