Andrew Haines wrote:

> I did a small test loading a text file with 50,000+ lines with my custom
> model and the GtkTreeView retrieved the value of each item in the list
> on startup. I assume it's to calculate the size for the scrollbar since
> the height of the listitems is not fixed but can vary per row in the
> GtkTreeView.
> 

Okay I found gtk_tree_view_set_fixed_height_mode which stops the View
from retrieving all of the items values initially.

Regards

Andrew Haines

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to