Re: TreeModel and visible rows

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

 



stian@xxxxxxxx schrieb:

If i would drop the ScrollingWidget, is there a way to determine
the visible rows?


The store_model's work indepentently of the views. You can have several
views and virtual models stacked on top of a list/tree_store.

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?

Thanks in advance.

best regards,
Seika van Olstroem
_______________________________________________

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