aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.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-item.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-item.h')
-rw-r--r--widgets/table/e-table-item.h56
1 files changed, 24 insertions, 32 deletions
diff --git a/widgets/table/e-table-item.h b/widgets/table/e-table-item.h
index eaf52882e6..be53f0657f 100644
--- a/widgets/table/e-table-item.h
+++ b/widgets/table/e-table-item.h
@@ -104,43 +104,35 @@ typedef struct {
gint (*click) (ETableItem *eti, int row, int col, GdkEvent *event);
gint (*key_press) (ETableItem *eti, int row, int col, GdkEvent *event);
} ETableItemClass;
-
-GtkType e_table_item_get_type (void);
+GtkType e_table_item_get_type (void);
/*
* Focus
*/
-void e_table_item_set_cursor (ETableItem *eti, int col, int row);
-
-gint e_table_item_get_focused_column (ETableItem *eti);
-
-/*
- * Handling the selection
- */
-gboolean e_table_item_is_row_selected (ETableItem *e_table_Item,
- int row);
-
-void e_table_item_selected_row_foreach (ETableItem *eti,
- ETableForeachFunc func,
- gpointer closure);
-
-void e_table_item_leave_edit (ETableItem *eti);
-void e_table_item_enter_edit (ETableItem *eti, int col, int row);
-
-void e_table_item_redraw_range (ETableItem *eti,
- int start_col, int start_row,
- int end_col, int end_row);
-
-EPrintable *e_table_item_get_printable (ETableItem *eti);
-void e_table_item_print_height (ETableItem *eti,
- GnomePrintContext *context,
- gdouble width);
-void e_table_item_compute_location (ETableItem *eti,
- int *x,
- int *y,
- int *row,
- int *col);
+void e_table_item_set_cursor (ETableItem *eti,
+ int col,
+ int row);
+
+gint e_table_item_get_focused_column (ETableItem *eti);
+
+void e_table_item_leave_edit (ETableItem *eti);
+void e_table_item_enter_edit (ETableItem *eti,
+ int col,
+ int row);
+
+void e_table_item_redraw_range (ETableItem *eti,
+ int start_col,
+ int start_row,
+ int end_col,
+ int end_row);
+
+EPrintable *e_table_item_get_printable (ETableItem *eti);
+void e_table_item_compute_location (ETableItem *eti,
+ int *x,
+ int *y,
+ int *row,
+ int *col);
#endif /* _E_TABLE_ITEM_H_ */