aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-selection-model.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-21 13:46:49 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-21 13:46:49 +0800
commit7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3 (patch)
treeacb732fb3bc5e5bbbfb1e0a0492bc3fe3e5aa222 /widgets/table/e-table-selection-model.h
parent50ef085e18b3cd54f1cea88ceb20156a56fb050d (diff)
downloadgsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.tar
gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.tar.gz
gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.tar.bz2
gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.tar.lz
gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.tar.xz
gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.tar.zst
gsoc2013-evolution-7d1cbbaa104a97cf0f10dae61c2fd37ca1feeee3.zip
Made this conform to the new prototype for e_popup_menu_run.
2001-01-21 Christopher James Lahey <clahey@helixcode.com> * e-table-header-item.c (ethi_header_context_menu): Made this conform to the new prototype for e_popup_menu_run. * e-table-item.c, e-table-item.h: Documented. (e_table_item_is_row_selected): Removed this function. (eti_draw): Changed this so that if the ETableItem is in cursor-mode="row", the cursor is draw all the way across the row. (eti_cursor_move_up, eti_cursor_move_down): Commented these out since they're no longer used. (_do_tooltip, eti_event): Commented out tooltips. (eti_event): Made it so that we call the key_press function in the %ETableSelectionModel on each key press. * e-table-selection-model.c, e-table-selection-model.h: Documented. Added a function e_table_selection_model_key_press that does whatever behavior is correct for the user having pressed the given key. Changed the behavior of this to better match windows (use selection-mode="browse"). * e-table-specification.c, e-table-specification.h: Added a draw_focus variable. * e-table.c: Decide whether to draw the focus based on the ETableSpecification. Removed the argument for setting whether to draw the focus. svn path=/trunk/; revision=7673
Diffstat (limited to 'widgets/table/e-table-selection-model.h')
-rw-r--r--widgets/table/e-table-selection-model.h47
1 files changed, 24 insertions, 23 deletions
diff --git a/widgets/table/e-table-selection-model.h b/widgets/table/e-table-selection-model.h
index 0178ecd64b..f1d1d0cf45 100644
--- a/widgets/table/e-table-selection-model.h
+++ b/widgets/table/e-table-selection-model.h
@@ -48,28 +48,29 @@ typedef struct {
} ETableSelectionModelClass;
-GtkType e_table_selection_model_get_type (void);
-
-gboolean e_table_selection_model_is_row_selected (ETableSelectionModel *selection,
- gint n);
-void e_table_selection_model_foreach (ETableSelectionModel *selection,
- ETableForeachFunc callback,
- gpointer closure);
-
-void e_table_selection_model_do_something (ETableSelectionModel *selection,
- guint row,
- guint col,
- GdkModifierType state);
-void e_table_selection_model_maybe_do_something (ETableSelectionModel *selection,
- guint row,
- guint col,
- GdkModifierType state);
-void e_table_selection_model_clear (ETableSelectionModel *selection);
-gint e_table_selection_model_selected_count (ETableSelectionModel *selection);
-
-void e_table_selection_model_select_all (ETableSelectionModel *selection);
-void e_table_selection_model_invert_selection (ETableSelectionModel *selection);
-
-ETableSelectionModel *e_table_selection_model_new (void);
+GtkType e_table_selection_model_get_type (void);
+gboolean e_table_selection_model_is_row_selected (ETableSelectionModel *selection,
+ gint n);
+void e_table_selection_model_foreach (ETableSelectionModel *selection,
+ ETableForeachFunc callback,
+ gpointer closure);
+
+void e_table_selection_model_do_something (ETableSelectionModel *selection,
+ guint row,
+ guint col,
+ GdkModifierType state);
+void e_table_selection_model_maybe_do_something (ETableSelectionModel *selection,
+ guint row,
+ guint col,
+ GdkModifierType state);
+gint e_table_selection_model_key_press (ETableSelectionModel *selection,
+ GdkEventKey *key);
+void e_table_selection_model_clear (ETableSelectionModel *selection);
+gint e_table_selection_model_selected_count (ETableSelectionModel *selection);
+
+void e_table_selection_model_select_all (ETableSelectionModel *selection);
+void e_table_selection_model_invert_selection (ETableSelectionModel *selection);
+
+ETableSelectionModel *e_table_selection_model_new (void);
#endif /* _E_TABLE_SELECTION_MODEL_H_ */