aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1999-11-19 13:34:23 +0800
committerArturo Espinosa <unammx@src.gnome.org>1999-11-19 13:34:23 +0800
commitda4c37043ecbd7f1c74315f88db36dfa195d6c64 (patch)
tree231eb0410c8455218665f6913361c46ef61fdc00 /widgets/table/e-table-item.h
parenta4fe6af80877ae299217e74d2ca859189bbb4bb3 (diff)
downloadgsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.tar
gsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.tar.gz
gsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.tar.bz2
gsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.tar.lz
gsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.tar.xz
gsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.tar.zst
gsoc2013-evolution-da4c37043ecbd7f1c74315f88db36dfa195d6c64.zip
New E-table-item.[ch] -mig
svn path=/trunk/; revision=1419
Diffstat (limited to 'widgets/table/e-table-item.h')
-rw-r--r--widgets/table/e-table-item.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.h b/widgets/table/e-table-item.h
new file mode 100644
index 0000000000..9b8ab541ae
--- /dev/null
+++ b/widgets/table/e-table-item.h
@@ -0,0 +1,36 @@
+#ifndef _E_TABLE_ITEM_H_
+#define _E_TABLE_ITEM_H_
+
+#include <libgnomeui/gnome-canvas.h>
+#include "e-table-model.h"
+#include "e-table-header.h"
+
+#define E_TABLE_ITEM_TYPE (e_table_item_get_type ())
+#define E_TABLE_ITEM(o) (GTK_CHECK_CAST ((o), E_TABLE_ITEM_TYPE, ETableItem))
+#define E_TABLE_ITEM_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_TABLE_ITEM_TYPE, ETableItemClass))
+#define E_IS_TABLE_ITEM(o) (GTK_CHECK_TYPE ((o), E_TABLE_ITEM_TYPE))
+#define E_IS_TABLE_ITEM_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_ITEM_TYPE))
+
+typedef struct {
+ GnomeCanvasItem parent;
+ ETableModel *table_model;
+ ETableHeader *header;
+
+ int x1, y1;
+ int height;
+
+ /*
+ * Ids for the signals we connect to
+ */
+ int header_dim_change_id;
+ int header_structure_change_id;
+ int table_model_change_id;
+} ETableItem;
+
+typedef struct {
+ GnomeCanvasItemClass parent_class;
+} ETableItemClass;
+
+GtkType e_table_item_get_type (void);
+
+#endif /* _E_TABLE_ITEM_H_ */