Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread Jan-Marek Glogowski
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

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread André Pedralho
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

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread Jan-Marek Glogowski
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

Re: GtkTreeView issues (porting from GtkCList)

2005-06-24 Thread André Pedralho
On 6/24/05, Jan-Marek Glogowski [EMAIL PROTECTED] wrote: 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

Re: GtkTreeView issues (porting from GtkCList)

2005-06-14 Thread Jan-Marek Glogowski
Hi Yury Yury Aliaev wrote: 2) When pressing the left mouse button and moving the cursor vertically the selection in GtkCList follow the cursor. In GtkTreeView -- not. How can I obtain in GtkTreeView the same behavior as in GtkCList? Not the same problem, but you may be able to adapt my

Re: GtkTreeView issues (porting from GtkCList)

2005-06-14 Thread André Pedralho
I was trying to port a GTK1 app toward a GTK2 app. In my GTK1 app I was using a CTree and I had to implement a TreeView in my GTK2 app to show my old tree. I have two questions: 1) There is a way to set the root of the tree? e.g: root child 1 child 2 What I want is: in this example, I

Re: GtkTreeView issues (porting from GtkCList)

2005-06-02 Thread Yury Aliaev
Yury Aliaev wrote: Now I'm porting some project from Gtk+-1.2 to Gtk+-2.6 and have some questions on GtkTreeView (with GtkListStore as a model): 1) Rows in GtkTreeView are higher than in GtkCList because of the much free space between them. How can I make GtkTreeView more compact? First

GtkTreeView issues (porting from GtkCList)

2005-05-30 Thread Yury Aliaev
Hi everybody! Now I'm porting some project from Gtk+-1.2 to Gtk+-2.6 and have some questions on GtkTreeView (with GtkListStore as a model): 1) Rows in GtkTreeView are higher than in GtkCList because of the much free space between them. How can I make GtkTreeView more compact? 2) When pressing