diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-06 07:00:41 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-06 07:00:41 +0800 |
commit | c115cff69df04b7580fd8a50e087c7bd53614cec (patch) | |
tree | 2cd51ac2167577ed803dc4b6b4aea4a79c041b88 /widgets/table/e-table.h | |
parent | 089f42f8dd81428b578939f385eb143254a83644 (diff) | |
download | gsoc2013-evolution-c115cff69df04b7580fd8a50e087c7bd53614cec.tar gsoc2013-evolution-c115cff69df04b7580fd8a50e087c7bd53614cec.tar.gz gsoc2013-evolution-c115cff69df04b7580fd8a50e087c7bd53614cec.tar.bz2 gsoc2013-evolution-c115cff69df04b7580fd8a50e087c7bd53614cec.tar.lz gsoc2013-evolution-c115cff69df04b7580fd8a50e087c7bd53614cec.tar.xz gsoc2013-evolution-c115cff69df04b7580fd8a50e087c7bd53614cec.tar.zst gsoc2013-evolution-c115cff69df04b7580fd8a50e087c7bd53614cec.zip |
Added functions to convert from view row to model row or from model row to
2000-08-05 Christopher James Lahey <clahey@helixcode.com>
* e-table.c, e-table.h: Added functions to convert from view row
to model row or from model row to view row. Also changed
e_table_set_cursor_row and e_table_get_cursor_row to take a model
row as this works better with the rest of the model. Changed the
name of e_table_get_next_row_sorted and
e_table_get_prev_row_sorted. (Dropped the _sorted.)
svn path=/trunk/; revision=4556
Diffstat (limited to 'widgets/table/e-table.h')
-rw-r--r-- | widgets/table/e-table.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/widgets/table/e-table.h b/widgets/table/e-table.h index b0e3cd174a..19dcbfecc8 100644 --- a/widgets/table/e-table.h +++ b/widgets/table/e-table.h @@ -182,11 +182,16 @@ void e_table_selected_row_foreach (ETable *e_table, gpointer closure); EPrintable *e_table_get_printable (ETable *e_table); -gint e_table_get_next_row_sorted (ETable *e_table, +gint e_table_get_next_row (ETable *e_table, gint model_row); -gint e_table_get_prev_row_sorted (ETable *e_table, +gint e_table_get_prev_row (ETable *e_table, gint model_row); +gint e_table_model_to_view_row (ETable *e_table, + gint model_row); +gint e_table_view_to_model_row (ETable *e_table, + gint view_row); + /* Drag & drop stuff. */ /* Target */ |