aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-model.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-model.h')
-rw-r--r--widgets/e-table/e-table-model.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/widgets/e-table/e-table-model.h b/widgets/e-table/e-table-model.h
index d12a465c0b..2d439a0065 100644
--- a/widgets/e-table/e-table-model.h
+++ b/widgets/e-table/e-table-model.h
@@ -11,6 +11,9 @@
typedef struct {
GtkObject base;
+
+ /* Temporary. I swear */
+ int row_selected;
} ETableModel;
typedef struct {
@@ -30,7 +33,8 @@ typedef struct {
/*
* Signals
*/
- void (*model_changed) (ETableModel *etm, int row);
+ void (*model_changed) (ETableModel *etm);
+ void (*row_selection) (ETableModel *etc, int row);
} ETableModelClass;
GtkType e_table_model_get_type (void);
@@ -44,6 +48,9 @@ void *e_table_model_value_at (ETableModel *e_table_model, int col,
void e_table_model_set_value_at (ETableModel *e_table_model, int col, int row, void *data);
gboolean e_table_model_is_cell_editable (ETableModel *e_table_model, int col, int row);
+void e_table_model_select_row (ETableModel *e_table_model, int row);
+gint e_table_model_get_selected_row (ETableModel *e_table_model);
+
/*
* Routines for emitting signals on the e_table
*/