aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-tree-model.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@helixcode.com>2000-09-01 16:57:43 +0800
committerChris Toshok <toshok@src.gnome.org>2000-09-01 16:57:43 +0800
commit0a380243b1363ab2477a8fd846d4fae92bb24912 (patch)
tree3fcff7865dd55c37a41de2ebe9db95b830131ed5 /widgets/e-table/e-tree-model.h
parent68b88043e3703a33c3de69309b86285693cea438 (diff)
downloadgsoc2013-evolution-0a380243b1363ab2477a8fd846d4fae92bb24912.tar
gsoc2013-evolution-0a380243b1363ab2477a8fd846d4fae92bb24912.tar.gz
gsoc2013-evolution-0a380243b1363ab2477a8fd846d4fae92bb24912.tar.bz2
gsoc2013-evolution-0a380243b1363ab2477a8fd846d4fae92bb24912.tar.lz
gsoc2013-evolution-0a380243b1363ab2477a8fd846d4fae92bb24912.tar.xz
gsoc2013-evolution-0a380243b1363ab2477a8fd846d4fae92bb24912.tar.zst
gsoc2013-evolution-0a380243b1363ab2477a8fd846d4fae92bb24912.zip
add signals/prototypes for e_tree_model_node_collapsed and
2000-09-01 Chris Toshok <toshok@helixcode.com> * e-tree-model.h: add signals/prototypes for e_tree_model_node_collapsed and e_tree_model_node_expanded. * e-tree-model.c (etree_set_expanded): emit node_expanded/node_collapsed signals, with node_expanded happening before the expansion so it can much with the children, and collapsed being emitted after. (e_tree_model_row_of_node): remove stupid check, and g_warning. (e_tree_model_node_collapsed): new function. (e_tree_model_node_expanded): new function. svn path=/trunk/; revision=5162
Diffstat (limited to 'widgets/e-table/e-tree-model.h')
-rw-r--r--widgets/e-table/e-tree-model.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/widgets/e-table/e-tree-model.h b/widgets/e-table/e-tree-model.h
index 403aff9a30..70464f094c 100644
--- a/widgets/e-table/e-tree-model.h
+++ b/widgets/e-table/e-tree-model.h
@@ -53,9 +53,11 @@ typedef struct {
/*
* Signals
*/
- void (*node_changed) (ETreeModel *etm, ETreePath *node);
- void (*node_inserted) (ETreeModel *etm, ETreePath *parent, ETreePath *inserted_node);
- void (*node_removed) (ETreeModel *etm, ETreePath *parent, ETreePath *removed_node);
+ void (*node_changed) (ETreeModel *etm, ETreePath *node);
+ void (*node_inserted) (ETreeModel *etm, ETreePath *parent, ETreePath *inserted_node);
+ void (*node_removed) (ETreeModel *etm, ETreePath *parent, ETreePath *removed_node);
+ void (*node_collapsed) (ETreeModel *etm, ETreePath *node);
+ void (*node_expanded) (ETreeModel *etm, ETreePath *node, gboolean *allow_expand);
} ETreeModelClass;
@@ -103,5 +105,7 @@ void e_tree_model_node_sort (ETreeModel *tree_model, ETreePath *node, GCompareFu
void e_tree_model_node_changed (ETreeModel *tree_model, ETreePath *node);
void e_tree_model_node_inserted (ETreeModel *tree_model, ETreePath *parent_node, ETreePath *inserted_node);
void e_tree_model_node_removed (ETreeModel *tree_model, ETreePath *parent_node, ETreePath *removed_node);
+void e_tree_model_node_collapsed (ETreeModel *tree_model, ETreePath *node);
+void e_tree_model_node_expanded (ETreeModel *tree_model, ETreePath *node, gboolean *allow_expand);
#endif /* _E_TREE_MODEL_H */