aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-cell.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-cell.h')
-rw-r--r--widgets/e-table/e-cell.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/e-table/e-cell.h b/widgets/e-table/e-cell.h
index 8804d2066f..8098d553f5 100644
--- a/widgets/e-table/e-cell.h
+++ b/widgets/e-table/e-cell.h
@@ -14,6 +14,13 @@
typedef struct _ECell ECell;
typedef struct _ECellView ECellView;
+/* Object flags for ECells */
+enum {
+ E_CELL_EDITABLE = 1 << 4
+};
+
+#define E_CELL_IS_EDITABLE(e) (GTK_OBJECT (e)->flags & E_CELL_EDITABLE)
+
struct _ECell {
GtkObject object;
};
@@ -74,4 +81,6 @@ int e_cell_height (ECellView *ecell_view, int model_col, int view_col,
void *e_cell_enter_edit (ECellView *ecell_view, int model_col, int view_col, int row);
void e_cell_leave_edit (ECellView *ecell_view, int model_col, int view_col, int row, void *edit_context);
+void e_cell_set_editable (ECell *ecell, gboolean editable);
+
#endif /* _E_CELL_H_ */