Re: TreeModel and visible rows



>>a) you always keep the model up-to-date
>>
>>b) you fetch the view position of the treeview and update only that part
>>of the model:
>>http://www.gtk.org/api/2.6/gtk/GtkTreeView.html#gtk-tree-view-get-visible-rect
>>
>>
> With this function i'm just getting the size in pixel (height and width),
> could a determine the height of a single row?

You can find out which rows are visible, by retriving the visible box, and
resolve the cordinates from pixels into iters.



Stian



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