aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-tree.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-01 19:20:55 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-01 19:20:55 +0800
commit3de1d627a1eb200774907589e19fa2c66d27cda8 (patch)
treef8c49f781a31999e30595592cef1193221593912 /widgets/table/e-tree.h
parent57f877305c3c2e6a0b43b1ceb0717ffc2b991bc7 (diff)
downloadgsoc2013-evolution-3de1d627a1eb200774907589e19fa2c66d27cda8.tar.gz
gsoc2013-evolution-3de1d627a1eb200774907589e19fa2c66d27cda8.tar.zst
gsoc2013-evolution-3de1d627a1eb200774907589e19fa2c66d27cda8.zip
Added e-tree-selection-model.c. (libetableinclude_HEADERS): Added
2001-04-01 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-tree-selection-model.c. (libetableinclude_HEADERS): Added e-tree-selection-model.h. * e-tree.c, e-tree.h: Added code to use ETreeSelectionModel if the string E_TREE_USE_TREE_SELECTION is defined. svn path=/trunk/; revision=9082
Diffstat (limited to 'widgets/table/e-tree.h')
-rw-r--r--widgets/table/e-tree.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/widgets/table/e-tree.h b/widgets/table/e-tree.h
index 60d39d8464..668fb8dc8d 100644
--- a/widgets/table/e-tree.h
+++ b/widgets/table/e-tree.h
@@ -12,6 +12,12 @@
#include <gal/e-table/e-table-state.h>
#include <gal/e-table/e-tree-model.h>
+/*#define E_TREE_USE_TREE_SELECTION*/
+
+#ifdef E_TREE_USE_TREE_SELECTION
+#include <gal/e-table/e-tree-selection-model.h>
+#endif
+
BEGIN_GNOME_DECLS
#define E_TREE_TYPE (e_tree_get_type ())
@@ -149,6 +155,11 @@ ETreePath e_tree_get_cursor (ETree *e_tree);
void e_tree_selected_row_foreach (ETree *e_tree,
EForeachFunc callback,
gpointer closure);
+#ifdef E_TREE_USE_TREE_SELECTION
+void e_tree_selected_path_foreach (ETree *e_tree,
+ ETreeForeachFunc callback,
+ gpointer closure);
+#endif
gint e_tree_selected_count (ETree *e_tree);
EPrintable *e_tree_get_printable (ETree *e_tree);