Re: Fixed height GtkTreeViews

On Wed, 17 Dec 2003, Kristian Rietveld wrote:

> For those interested,
> I just committed /the/ fixed height patch for GtkTreeView to GTK+ HEAD.
> A fixed height GtkTreeView basically means that we only measure the
> height of the first row and use this height for each row in the
> GtkTreeView. The default GtkTreeView behavior is to measure the height
> of each row (though it is done in an idle handler), for GtkTreeViews
> displaying big datasets this takes a loooong time.
> Fixed height mode is not enabled by default. The programmer will have to
> enable it by doing the following two twings:
> 1. Make sure all columns have the sizing type

why is that neccessary, i.e. why can't fixed row heights be supported
together with GTK_TREE_VIEW_COLUMN_AUTOSIZE or at least

> 2. Set the property "fixed_height_mode" of the GtkTreeView to TRUE.

> 	-Kris
> _______________________________________________


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