diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-01-16 06:33:13 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-01-16 06:33:13 +0800 |
commit | 1d68f8289f5686820da5ed0cecec586bc50e445c (patch) | |
tree | 661788cafb05bb83d9ac482979eba5cb57ce6875 /widgets/table/e-cell.h | |
parent | 33748a64453cf5bcbde73ec7bf0a983ecfa49ff4 (diff) | |
download | gsoc2013-evolution-1d68f8289f5686820da5ed0cecec586bc50e445c.tar.gz gsoc2013-evolution-1d68f8289f5686820da5ed0cecec586bc50e445c.tar.zst gsoc2013-evolution-1d68f8289f5686820da5ed0cecec586bc50e445c.zip |
New functions for saving selection state and such.
2002-01-15 Christopher James Lahey <clahey@ximian.com>
* e-cell.c, e-cell.h (e_cell_save_state, e_cell_load_state,
e_cell_free_state): New functions for saving selection state and
such.
* e-cell-text.c (ect_save_state): Implemented the new state
functions.
* e-table-item.c, e-table-item.h: Use the new cell state functions
when focusing in or out. Fixes Ximian bug #14968.
svn path=/trunk/; revision=15335
Diffstat (limited to 'widgets/table/e-cell.h')
-rw-r--r-- | widgets/table/e-cell.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/widgets/table/e-cell.h b/widgets/table/e-cell.h index b5277d657b..135ac1aa25 100644 --- a/widgets/table/e-cell.h +++ b/widgets/table/e-cell.h @@ -97,6 +97,9 @@ typedef struct { void *(*enter_edit) (ECellView *ecell_view, int model_col, int view_col, int row); void (*leave_edit) (ECellView *ecell_view, int model_col, int view_col, int row, void *context); + void *(*save_state) (ECellView *ecell_view, int model_col, int view_col, int row, void *context); + void (*load_state) (ECellView *ecell_view, int model_col, int view_col, int row, void *context, void *save_state); + void (*free_state) (ECellView *ecell_view, int model_col, int view_col, int row, void *save_state); void (*print) (ECellView *ecell_view, GnomePrintContext *context, int model_col, int view_col, int row, gdouble width, gdouble height); @@ -185,6 +188,26 @@ void e_cell_leave_edit (ECellView *ecell_view, int row, void *edit_context); +void *e_cell_save_state (ECellView *ecell_view, + int model_col, + int view_col, + int row, + void *edit_context); + +void e_cell_load_state (ECellView *ecell_view, + int model_col, + int view_col, + int row, + void *edit_context, + void *state); + +void e_cell_free_state (ECellView *ecell_view, + int model_col, + int view_col, + int row, + void *state); + + END_GNOME_DECLS #endif /* _E_CELL_H_ */ |