aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-simple.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-11-10 15:31:21 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-10 15:31:21 +0800
commitafbee2366ab309647467c17dd9087a42955a977a (patch)
tree0417022d7e9dfa00922bdb26f044e354f957e711 /widgets/e-table/e-table-simple.h
parent9e76b410eda5783fc725b5e1260a30b583fc3395 (diff)
downloadgsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.tar.gz
gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.tar.zst
gsoc2013-evolution-afbee2366ab309647467c17dd9087a42955a977a.zip
Stuff
svn path=/trunk/; revision=1378
Diffstat (limited to 'widgets/e-table/e-table-simple.h')
-rw-r--r--widgets/e-table/e-table-simple.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/widgets/e-table/e-table-simple.h b/widgets/e-table/e-table-simple.h
index b5c549a440..fc69ce19d0 100644
--- a/widgets/e-table/e-table-simple.h
+++ b/widgets/e-table/e-table-simple.h
@@ -3,13 +3,13 @@
#include "e-table-model.h"
-typedef int (*ETableSimpleColumnCountFn) (ETableModel *etm);
-typedef const char *(*ETableSimpleColumnNameFn) (ETableModel *etm, int col);
-typedef int (*ETableSimpleRowCountFn) (ETableModel *etm);
-typedef void *(*ETableSimpleValueAtFn) (ETableModel *etm, int col, int row);
+typedef int (*ETableSimpleColumnCountFn) (ETableModel *etm, void *data);
+typedef const char *(*ETableSimpleColumnNameFn) (ETableModel *etm, int col, void *data);
+typedef int (*ETableSimpleRowCountFn) (ETableModel *etm, void *data);
+typedef void *(*ETableSimpleValueAtFn) (ETableModel *etm, int col, int row, void *data);
typedef void (*ETableSimpleSetValueAtFn) (ETableModel *etm, int col, int row, void *data);
-typedef gboolean (*ETableSimpleIsCellEditableFn) (ETableModel *etm, int col, int row);
-typedef int (*ETableSimpleRowHeightFn (ETableModel *etm, int row);
+typedef gboolean (*ETableSimpleIsCellEditableFn) (ETableModel *etm, int col, int row, void *data);
+typedef int (*ETableSimpleRowHeightFn) (ETableModel *etm, int row, void *data);
typedef struct {
ETableModel parent;
@@ -24,9 +24,13 @@ typedef struct {
void *data;
} ETableSimple;
+typedef struct {
+ ETableModel parent_class;
+} ETableSimpleClass;
+
GtkType e_table_simple_get_type (void);
-ETable *e_table_simple_new (ETableSimpleColumnCountFn col_count,
+ETableModel *e_table_simple_new (ETableSimpleColumnCountFn col_count,
ETableSimpleColumnNameFn col_name,
ETableSimpleRowCountFn row_count,
ETableSimpleValueAtFn value_at,