diff options
author | Christopher James Lahey <clahey@ximian.com> | 2002-04-27 04:33:23 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2002-04-27 04:33:23 +0800 |
commit | 24f211162b3d6e6f7b3adca1071b76382bb96c2a (patch) | |
tree | 4e41219020d8a800d68f138d8439b96a31b0520d /widgets/table/e-table-model.c | |
parent | fd07f957a16fc313371e9f4c09e7937d381e96af (diff) | |
download | gsoc2013-evolution-24f211162b3d6e6f7b3adca1071b76382bb96c2a.tar gsoc2013-evolution-24f211162b3d6e6f7b3adca1071b76382bb96c2a.tar.gz gsoc2013-evolution-24f211162b3d6e6f7b3adca1071b76382bb96c2a.tar.bz2 gsoc2013-evolution-24f211162b3d6e6f7b3adca1071b76382bb96c2a.tar.lz gsoc2013-evolution-24f211162b3d6e6f7b3adca1071b76382bb96c2a.tar.xz gsoc2013-evolution-24f211162b3d6e6f7b3adca1071b76382bb96c2a.tar.zst gsoc2013-evolution-24f211162b3d6e6f7b3adca1071b76382bb96c2a.zip |
Documented the life cycle requirements of the return value of these
2002-04-26 Christopher James Lahey <clahey@ximian.com>
* e-table-model.c (e_table_model_value_at), e-tree-model.c
(e_tree_model_value_at): Documented the life cycle requirements of
the return value of these functions.
svn path=/trunk/; revision=16602
Diffstat (limited to 'widgets/table/e-table-model.c')
-rw-r--r-- | widgets/table/e-table-model.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/widgets/table/e-table-model.c b/widgets/table/e-table-model.c index 258c16ac10..f731dc396a 100644 --- a/widgets/table/e-table-model.c +++ b/widgets/table/e-table-model.c @@ -110,8 +110,14 @@ e_table_model_append_row (ETableModel *e_table_model, ETableModel *source, int r * returned can be a pointer or any data value that can be stored * inside a pointer. * - * The data returned is typically used by an ECell renderer - */ + * The data returned is typically used by an ECell renderer. + * + * The data returned must be valid until the model sends a signal that + * affect that piece of data. model_changed affects all data. + * row_changed affects the data in that row. cell_changed affects the + * data in that cell. rows_deleted affects all data in those rows. + * rows_inserted and no_change don't affect any data in this way. + **/ void * e_table_model_value_at (ETableModel *e_table_model, int col, int row) { |