Re: GtkTreeView issues (porting from GtkCList)
- From: André Pedralho <apedralho gmail com>
- To: Jan-Marek Glogowski <glogow fbihome de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkTreeView issues (porting from GtkCList)
- Date: Fri, 24 Jun 2005 07:41:02 -0400
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 <glogow fbihome de> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]