Re: [gtkmm] Gtk::TreeView performance

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

 



Igor Gorbounov wrote:
Hi, All!
My application uses a TreeView (using ListStore model) table to present measured data
once per second. This table has about 20 rows and about 40 columns.
The problem is in consuming too much CPU resources (about 14% when the table is
switched on, and near 3% when it is switched off). The cells af this tables display
text, and the color of this text foreground and background is changed depending on
values in invisible cells.
So is there any way to optimize this whole structure?
Igor Gorbounov


As an alternative, use a 'TextView' with 'Tags' instead of the 'ListStore'.
Changing the Tag properties may be quicker. But, this assumes few tags and you lose the convenience of the headings, sorting etc.


-- David Jensen

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux