Re: Gtk_Tree_View, drawing speed
- From: jcupitt gmail com
- To: arne pagelnet de
- Cc: gtk-app-devel-list list <gtk-app-devel-list gnome org>
- Subject: Re: Gtk_Tree_View, drawing speed
- Date: Wed, 26 Sep 2012 09:51:18 +0100
On 26 September 2012 07:09, Arne Pagel <arne pagelnet de> wrote:
Do you see any other option?
Have you tried setting the fixed-height hint on the treeview?
By default treeview supports variable-height rows. This is great, of
course, but there is a performance penalty: whenever the model
changes, the view has to rescan the model and recalculate all the
heights. If all your rows are the same height, and they might be from
looking at your screenshot, you can set the fixed-height hint and get
treeview to just sample a single row.
http://developer.gnome.org/gtk3/stable/GtkTreeView.html#gtk-tree-view-set-fixed-height-mode
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]