Re: TreeModel and visible rows
- From: Seika van Olstroem <seika vanolstroem gmail com>
- To: gtk-list gnome org
- Subject: Re: TreeModel and visible rows
- Date: Fri, 11 Mar 2005 16:30:48 +0100
stian nixia no 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]