Thanks very much indeed for this pointer, armed with
this info I've speeded up the loading of my grids by a factor of 5. I had been trying: TreeViewColumn::set_fixed_width() and TreeViewColumn::set_sizing(TREE_VIEW_COLUMN_FIXED) but hadn't noticed CellRenderer::set_fixed_size(width, height) or tree-view property "fixed-height-mode". The "fixed-height-mode" is the key for me -- I had been working with gtk2.2 which doesn't have that property. With: TreeViewColumn::set_sizing(TREE_VIEW_COLUMN_FIXED) tree-view property "fixed-height-mode" TreeViewColumn::set_fixed_width() I get dramatic improvements. CellRenderer::set_fixed_size(width, height) doesn't seem to make any difference, once the other three are set. Many thanks, this has really made my day. John
|
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list