aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-12-07 05:37:15 +0800
committerChris Lahey <clahey@src.gnome.org>2000-12-07 05:37:15 +0800
commit620dda2c3644cf3988bd64fd3b20c3f99fb54e48 (patch)
treeb186294d4a7dea34c112e15587c15546e8a34049 /widgets/table/e-cell.h
parentca1c3593bf873dcd03a8974c0785b1f6ffdbd140 (diff)
downloadgsoc2013-evolution-620dda2c3644cf3988bd64fd3b20c3f99fb54e48.tar.gz
gsoc2013-evolution-620dda2c3644cf3988bd64fd3b20c3f99fb54e48.tar.zst
gsoc2013-evolution-620dda2c3644cf3988bd64fd3b20c3f99fb54e48.zip
Adapted these to accept the new flags parameter to e_cell_event.
2000-12-06 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c, e-cell-toggle.c, e-cell-tree.c: Adapted these to accept the new flags parameter to e_cell_event. * e-cell.c, e-cell.h: Added a flags parameter to e_cell_event. * e-table-item.c: Send all e_cell_event calls a E_CELL_EDITABLE flag. Add a new e_cell_event to the button press event that happens before selecting the appropriate row and which does not have the E_CELL_EDITABLE flag set. svn path=/trunk/; revision=6823
Diffstat (limited to 'widgets/table/e-cell.h')
-rw-r--r--widgets/table/e-cell.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/table/e-cell.h b/widgets/table/e-cell.h
index 986af546c5..14bf8c1a35 100644
--- a/widgets/table/e-cell.h
+++ b/widgets/table/e-cell.h
@@ -30,6 +30,8 @@ enum _ECellFlags {
E_CELL_ALIGN_RIGHT = 1 << 2,
E_CELL_FOCUSED = 1 << 3,
+
+ E_CELL_EDITING = 1 << 4,
};
struct _ECell {
@@ -59,7 +61,7 @@ typedef struct {
void (*draw) (ECellView *ecell_view, GdkDrawable *drawable,
int model_col, int view_col, int row,
ECellFlags flags, int x1, int y1, int x2, int y2);
- gint (*event) (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row);
+ gint (*event) (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row, ECellFlags flags);
void (*focus) (ECellView *ecell_view, int model_col, int view_col,
int row, int x1, int y1, int x2, int y2);
void (*unfocus) (ECellView *ecell_view);
@@ -80,7 +82,7 @@ GtkType e_cell_get_type (void);
ECellView *e_cell_new_view (ECell *ecell, ETableModel *table_model, void *e_table_item_view);
void e_cell_kill_view (ECellView *ecell_view);
-gint e_cell_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row);
+gint e_cell_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row, ECellFlags flags);
void e_cell_realize (ECellView *ecell_view);
void e_cell_unrealize (ECellView *ecell_view);