From 5fa7ce6c09fe6ae8553e6c74281707144f1e7c8b Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 1 Mar 2001 08:32:16 +0000 Subject: Added e-selection-model-simple.lo. 2001-03-01 Christopher James Lahey * 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 --- widgets/misc/e-selection-model.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'widgets/misc/e-selection-model.h') 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); -- cgit