Re: GtkTreeView issues (porting from GtkCList)



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



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