diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-03-01 16:32:16 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-03-01 16:32:16 +0800 |
commit | 5fa7ce6c09fe6ae8553e6c74281707144f1e7c8b (patch) | |
tree | df03de6655a504f924586dcf1311c5e06b0255d2 /widgets/misc/e-selection-model.h | |
parent | 1fc93f47b89b1fc9fab19a48291a1129d979b50e (diff) | |
download | gsoc2013-evolution-5fa7ce6c09fe6ae8553e6c74281707144f1e7c8b.tar.gz gsoc2013-evolution-5fa7ce6c09fe6ae8553e6c74281707144f1e7c8b.tar.zst gsoc2013-evolution-5fa7ce6c09fe6ae8553e6c74281707144f1e7c8b.zip |
Added e-selection-model-simple.lo.
2001-03-01 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added
e-selection-model-simple.lo.
* gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added e-selection-model-simple.c.
(libwidgetsinclude_HEADERS): Added e-selection-model-simple.h.
* gal/widgets/e-reflow-sorted.c, gal/widgets/e-reflow-sorted.h:
Added a gint *position argument to e_reflow_sorted_remove_item and
e_reflow_sorted_get_item and two gint * arguments to
e_reflow_sorted_replace_item and e_reflow_sorted_reorder_item to
return the positions in the array of the items removed, gotten, or
moved.
* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Added a gint
*position argument to e_reflow_sorted_add_item to return the
positions in the array of the item added.
* gal/widgets/e-selection-model.c,
gal/widgets/e-selection-model.h: Added e_selection_model_move_row.
svn path=/trunk/; revision=8442
Diffstat (limited to 'widgets/misc/e-selection-model.h')
-rw-r--r-- | widgets/misc/e-selection-model.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/widgets/misc/e-selection-model.h b/widgets/misc/e-selection-model.h index 564a3e6e50..74cbcb50d2 100644 --- a/widgets/misc/e-selection-model.h +++ b/widgets/misc/e-selection-model.h @@ -65,6 +65,7 @@ typedef struct { } ESelectionModelClass; GtkType e_selection_model_get_type (void); + gboolean e_selection_model_is_row_selected (ESelectionModel *selection, gint n); void e_selection_model_foreach (ESelectionModel *selection, @@ -84,10 +85,15 @@ void e_selection_model_clear (ESelectionModel *selection); gint e_selection_model_selected_count (ESelectionModel *selection); void e_selection_model_select_all (ESelectionModel *selection); void e_selection_model_invert_selection (ESelectionModel *selection); + +/* Private Functions */ void e_selection_model_insert_row (ESelectionModel *esm, int row); void e_selection_model_delete_row (ESelectionModel *esm, int row); +void e_selection_model_move_row (ESelectionModel *esm, + int old_row, + int new_row); /* Virtual Function */ gint e_selection_model_get_row_count (ESelectionModel *esm); |