On Mon, 2006-03-27 at 17:05 +0200, Murray Cumming wrote: > Am I right in thinking that GtkTreeView shouldn't call the cell_data > callback for cells that aren't visible? > > The attached test case shows it being called for every row (even if only > a few are visible in the GtkScrolledWindow), and then called again for > the visible rows. This is not so nice when I must retrieve the data (in > my custom model) from a database.
Answering myself, this can be fixed by calling gtk_tree_view_set_fixed_height_mode(), which in turn needs us to call gtk_tree_view_column_set_sizing() on each GtkTreeViewColumn. -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list