Re: gtk_tree_view/store, best way to select all nodes of a branch

2012-09-26 Thread Arne Pagel
I played around with the gtk_tree_selection_select_range functions, but as far as I have seen this is not working for collapsed elements. Also I found the handling very difficult for my purpose, and the operation can be distorted by other mouse movements. I implemented this now by using the gtk

Re: Gtk_Tree_View, drawing speed

2012-09-26 Thread Arne Pagel
Thank you for this hint, I tried it and indeed I notice a speedup, but just factor ~1,3. There must be something more. I removed all columns expect the "Value" column, and now I notice a speedup factor of ~3, if I remove just one column, is see a speedup factor of ~2. Now I am sure that there i

Re: Gtk_Tree_View, drawing speed

2012-09-26 Thread jcupitt
On 26 September 2012 07:09, Arne Pagel wrote: > Do you see any other option? Have you tried setting the fixed-height hint on the treeview? By default treeview supports variable-height rows. This is great, of course, but there is a performance penalty: whenever the model changes, the view has to

improvements in gtktreeview

2012-09-26 Thread Rudra Banerjee
Dear friends, below I have copied the way I am creating a treeview. Maybe, you may find some part is not necessary, but still I put them to show you how I am doing the things. I need help in few things: 1) for my typical testing file, which has ~150 entry(to be parsed by parse.sh, create file "