Re: Fixed height GtkTreeViews
- From: Tim Janik <timj gtk org>
- To: Kristian Rietveld <kris gtk org>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, <desktop-devel-list gnome org>
- Subject: Re: Fixed height GtkTreeViews
- Date: Thu, 18 Dec 2003 07:17:13 +0100 (CET)
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
> GTK_TREE_VIEW_COLUMN_FIXED.
why is that neccessary, i.e. why can't fixed row heights be supported
together with GTK_TREE_VIEW_COLUMN_AUTOSIZE or at least
GTK_TREE_VIEW_COLUMN_GROW_ONLY?
> 2. Set the property "fixed_height_mode" of the GtkTreeView to TRUE.
>
> -Kris
> _______________________________________________
---
ciaoTJ
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]