diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-04 16:37:14 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-04 16:37:14 +0800 |
commit | 91f381352f9bff029bf8f2cf3ebe35272262e75f (patch) | |
tree | 644aa7c14eddfcb418cc80ddb7dbe7ee7070655b /widgets/table/e-tree-selection-model.h | |
parent | 8940bcc90c4ecbfdd01bd7224005f575b0df6a2a (diff) | |
download | gsoc2013-evolution-91f381352f9bff029bf8f2cf3ebe35272262e75f.tar gsoc2013-evolution-91f381352f9bff029bf8f2cf3ebe35272262e75f.tar.gz gsoc2013-evolution-91f381352f9bff029bf8f2cf3ebe35272262e75f.tar.bz2 gsoc2013-evolution-91f381352f9bff029bf8f2cf3ebe35272262e75f.tar.lz gsoc2013-evolution-91f381352f9bff029bf8f2cf3ebe35272262e75f.tar.xz gsoc2013-evolution-91f381352f9bff029bf8f2cf3ebe35272262e75f.tar.zst gsoc2013-evolution-91f381352f9bff029bf8f2cf3ebe35272262e75f.zip |
Added e_tree_selection_model_select_single_path and made selection_start
2001-04-04 Christopher James Lahey <clahey@ximian.com>
* e-tree-selection-model.c, e-tree-selection-model.h: Added
e_tree_selection_model_select_single_path and made selection_start
be the path as it should be instead of the row.
* e-tree-sorted.c: Added a last_access variable to speed up
access.
* e-tree-table-adapter.c: Made checking last_access look at the 10
values before and after the listed value to look for the value
requested.
* e-tree.c: Call e_tree_selection_model_select_single_path if
E_TREE_USE_TREE_SELECTION.
svn path=/trunk/; revision=9169
Diffstat (limited to 'widgets/table/e-tree-selection-model.h')
-rw-r--r-- | widgets/table/e-tree-selection-model.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/widgets/table/e-tree-selection-model.h b/widgets/table/e-tree-selection-model.h index e95ce97e68..624d527b07 100644 --- a/widgets/table/e-tree-selection-model.h +++ b/widgets/table/e-tree-selection-model.h @@ -34,11 +34,13 @@ typedef struct { } ETreeSelectionModelClass; -GtkType e_tree_selection_model_get_type (void); -ESelectionModel *e_tree_selection_model_new (void); -void e_tree_selection_model_foreach (ETreeSelectionModel *etsm, - ETreeForeachFunc callback, - gpointer closure); +GtkType e_tree_selection_model_get_type (void); +ESelectionModel *e_tree_selection_model_new (void); +void e_tree_selection_model_foreach (ETreeSelectionModel *etsm, + ETreeForeachFunc callback, + gpointer closure); +void e_tree_selection_model_select_single_path (ETreeSelectionModel *etsm, + ETreePath path); #ifdef __cplusplus } |