Ok ok! However it doesn't work on my situation. What I am trying to do
is something similar a bookmark. Then it has a root folder: Bookmark
(that cotain all the folders and url's); and it has the url's (that
are the 'leafs'). One requirement is I may move the folders and url's.
So I need a way to not move something to outside the Bookmark folder,
neither to inside a url...

Do you understand me?

thanks a lot!

On 6/24/05, Jan-Marek Glogowski <[EMAIL PROTECTED]> wrote:
> Please start a new thread next time.
> 
> > 1) There is a way to set the root of the tree?
> 
> Maybe
> gtk_tree_store_append( store, &new_row, NULL );
> 
> > 2) There is a way to select when a node will be a leaf or a node?
> 
> ?
> 
> There are no leafs - a "leaf" is a node without children:
> 
> gtk_tree_model_iter_has_child
> or
> gtk_tree_model_iter_children
> 
> HTH
> 
> Jan-Marek
> 


-- 
André Pedralho
Bachelor in Computer Science
Instituto Nokia de Tecnologia
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to