diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-03 00:56:26 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-03 00:56:26 +0800 |
commit | 5fbcc4828efb084344e9c5fd42ebccb288ee492f (patch) | |
tree | ba3fe53ec556c7548b6517c24925ada769d3c079 /widgets/table/e-table-model.h | |
parent | 2c7ed49b25b0ab36e003427083b331bd5bc4a61f (diff) | |
download | gsoc2013-evolution-5fbcc4828efb084344e9c5fd42ebccb288ee492f.tar.gz gsoc2013-evolution-5fbcc4828efb084344e9c5fd42ebccb288ee492f.tar.zst gsoc2013-evolution-5fbcc4828efb084344e9c5fd42ebccb288ee492f.zip |
Add a handler for "model_pre_change" and properly stop editing.
2000-08-02 Christopher James Lahey <clahey@helixcode.com>
* e-table-item.c, e-table-item.h: Add a handler for
"model_pre_change" and properly stop editing.
* e-table-model.c, e-table-model.h: Added a "model_pre_change"
signal that gets sent before any row numbers are changed.
* e-table-sorted-variable.c, e-table-subset-variable.c: Emit
"model_pre_change" signals as appropriate.
* e-table-subset.c, e-table-subset.h: Proxy "model_pre_changed"
signals.
svn path=/trunk/; revision=4472
Diffstat (limited to 'widgets/table/e-table-model.h')
-rw-r--r-- | widgets/table/e-table-model.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/table/e-table-model.h b/widgets/table/e-table-model.h index 447903c83a..d4fae1659e 100644 --- a/widgets/table/e-table-model.h +++ b/widgets/table/e-table-model.h @@ -50,6 +50,8 @@ typedef struct { * A row inserted: row_inserted * A row deleted: row_deleted */ + void (*model_pre_change) (ETableModel *etm); + void (*model_changed) (ETableModel *etm); void (*model_row_changed) (ETableModel *etm, int row); void (*model_cell_changed) (ETableModel *etm, int col, int row); @@ -76,6 +78,7 @@ char *e_table_model_value_to_string (ETableModel *e_table_model, int col, /* * Routines for emitting signals on the e_table */ +void e_table_model_pre_change (ETableModel *e_table_model); void e_table_model_changed (ETableModel *e_table_model); void e_table_model_row_changed (ETableModel *e_table_model, int row); void e_table_model_cell_changed (ETableModel *e_table_model, int col, int row); |