Cache GtkTreeView rows (Sorry for the slip in the previous mail)

View: New views
1 Messages — Rating Filter:   Alert me  

Cache GtkTreeView rows (Sorry for the slip in the previous mail)

by yijun yu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, Guys,

In the embedded arena,  I create a list using GtkTreeView, each row having icon and text, and then I scroll up and down the list.  The performance is not good since the GtkTreeView need to create and paint its exposed rows again and again. It is heavy for embedded processors.

Could it be possible that some GtkTreeView rows  could be cached, say that 3 times of the visible rows are cached offscreen.  When I scroll up and down, and an expose event occurs, some rows are already there and they only need to be copied to screen.

Regards
Yijun

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