Re: TreeModel and visible rows
- From: stian nixia no
- To: "Seika van Olstroem" <seika vanolstroem gmail com>
- Cc: gtk-list gnome org
- Subject: Re: TreeModel and visible rows
- Date: Fri, 11 Mar 2005 16:37:53 +0100 (CET)
>>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]