From 70bf0da6ada4fa2df3259b9a54aed5bcdf751629 Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Wed, 26 Apr 2006 12:39:12 +0000 Subject: [PATCH] New "show-expanders" and "level-indentation" properties, which can be used 2006-04-26 Kristian Rietveld New "show-expanders" and "level-indentation" properties, which can be used for customizing the tree view. (For example to do grouping as demonstrated in the test application). Discussion in #80869. * gtk/gtktreeprivate.h: add level_indentation field. * gtk/gtktreeview.c (gtk_tree_view_class_init), (gtk_tree_view_init), (gtk_tree_view_set_property), (gtk_tree_view_get_property): add the properties to the object, (gtk_tree_view_button_press), (do_prelight), (gtk_tree_view_bin_expose), (validate_row), (gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area), (gtk_tree_view_create_row_drag_icon): take the new properties into account, (gtk_tree_view_start_editing): fix cell placement code. * tests/testgrouping.c: new test application, showing how to implement grouping. * tests/Makefile.am: updated. --- ChangeLog | 24 ++++++++++++++++++++++++ ChangeLog.pre-2-10 | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/ChangeLog b/ChangeLog index fea09797e2..3a685610c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,27 @@ +2006-04-26 Kristian Rietveld + + New "show-expanders" and "level-indentation" properties, which can + be used for customizing the tree view. (For example to do + grouping as demonstrated in the test application). + Discussion in #80869. + + * gtk/gtktreeprivate.h: add level_indentation field. + + * gtk/gtktreeview.c (gtk_tree_view_class_init), + (gtk_tree_view_init), (gtk_tree_view_set_property), + (gtk_tree_view_get_property): add the properties to the object, + (gtk_tree_view_button_press), (do_prelight), + (gtk_tree_view_bin_expose), (validate_row), + (gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area), + (gtk_tree_view_create_row_drag_icon): take the new properties + into account, + (gtk_tree_view_start_editing): fix cell placement code. + + * tests/testgrouping.c: new test application, showing how to + implement grouping. + + * tests/Makefile.am: updated. + 2006-04-25 Matthias Clasen * gdk/gdk.symbols: Add gdk_screen_is_composited diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index fea09797e2..3a685610c7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,27 @@ +2006-04-26 Kristian Rietveld + + New "show-expanders" and "level-indentation" properties, which can + be used for customizing the tree view. (For example to do + grouping as demonstrated in the test application). + Discussion in #80869. + + * gtk/gtktreeprivate.h: add level_indentation field. + + * gtk/gtktreeview.c (gtk_tree_view_class_init), + (gtk_tree_view_init), (gtk_tree_view_set_property), + (gtk_tree_view_get_property): add the properties to the object, + (gtk_tree_view_button_press), (do_prelight), + (gtk_tree_view_bin_expose), (validate_row), + (gtk_tree_view_discover_dirty_iter), (gtk_tree_view_get_cell_area), + (gtk_tree_view_create_row_drag_icon): take the new properties + into account, + (gtk_tree_view_start_editing): fix cell placement code. + + * tests/testgrouping.c: new test application, showing how to + implement grouping. + + * tests/Makefile.am: updated. + 2006-04-25 Matthias Clasen * gdk/gdk.symbols: Add gdk_screen_is_composited