Re: getting the height of all cells in treeview

2005-02-08 Thread Stefan Kost
Please help, I am now totaly lost in the API. I've now converted all my code to use the fixed-height mode. The biggest disadvantage is that I now need to set 'fixed-width' for each column. gtk_tree_view_columns_autosize() shows no effect (its called after realizing the treeview). First question:

getting the height of all cells in treeview

2005-02-07 Thread Stefan Kost
hi hi, I subclass the treeview widget and override its expose handler to overlay custom gfx. Therefore I need to know the height covered by the cells. I currently check allocation and visible rect, but both are way too large if the tree has just a few cells. If the tree has a lot of rows, so that