GNOME Bugzilla – Bug 654236
Allow to specify height of GtkTreeView in number of rows
Last modified: 2011-07-11 13:05:44 UTC
In Glom, I need to specify the min height of some GtkTreeViews in terms of the number of (fixed-height) rows that I want to show. I already know the fixed row height that I have chosen (based on a PangoLayout that I created to guess the height for text), but I have to guess the height of the other parts of the GtkTreeView, and that's hacky. I'd rather have a function such as gtk_tree_view_set_min_rows(), which would be documented as only working with fixed-height rows. I then pass that guessed value to gtk_scrolled_window_set_min_content_height().
I think this is a duplicate -- but please let me know if I'm wrong. *** This bug has been marked as a duplicate of bug 129318 ***