Re: TreeModel and visible rows

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

 



>>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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux