Re: GtkTreeView very slow for large lists



Jannis Pohlmann wrote:
I only briefly read the other replies, so maybe I'm repeating something
here. One thing I remember that can speed things up drastically is to
only associate the model with the tree view once it has all its data.
AFAIR, populating the model while it's linked to the tree view slows
things down quite a bit.

  - Jannis

Yes, we follow this practice.  As a "jcupitt" pointed out, what I was
missing was to use "fixed height mode" for the GtkTreeView so that it
doesn't try to calculated the height of every single row.

-- John



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