aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-col.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-col.h')
-rw-r--r--widgets/e-table/e-table-col.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/widgets/e-table/e-table-col.h b/widgets/e-table/e-table-col.h
index 54f03ae237..7356820b7a 100644
--- a/widgets/e-table/e-table-col.h
+++ b/widgets/e-table/e-table-col.h
@@ -1,7 +1,9 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef _E_TABLE_COL_H_
#define _E_TABLE_COL_H_
#include "e-cell.h"
+#include <gdk-pixbuf/gdk-pixbuf.h>
#define E_TABLE_COL_TYPE (e_table_col_get_type ())
#define E_TABLE_COL(o) (GTK_CHECK_CAST ((o), E_TABLE_COL_TYPE, ETableCol))
@@ -17,10 +19,12 @@ typedef struct _ETableCol ETableCol;
struct _ETableCol {
GtkObject base;
char *text;
+ GdkPixbuf *pixbuf;
short width;
short min_width;
short x;
GCompareFunc compare;
+ unsigned int is_pixbuf:1;
unsigned int selected:1;
unsigned int resizeable:1;
int col_idx;
@@ -32,12 +36,16 @@ typedef struct {
GtkObjectClass parent_class;
} ETableColClass;
-GtkType e_table_col_get_type (void);
-ETableCol *e_table_col_new (int col_idx, const char *text,
- int width, int min_width,
- ECell *ecell, GCompareFunc compare,
- gboolean resizable);
-void e_table_col_destroy (ETableCol *etc);
+GtkType e_table_col_get_type (void);
+ETableCol *e_table_col_new (int col_idx, const char *text,
+ int width, int min_width,
+ ECell *ecell, GCompareFunc compare,
+ gboolean resizable);
+ETableCol *e_table_col_new_with_pixbuf (int col_idx, GdkPixbuf *pixbuf,
+ int width, int min_width,
+ ECell *ecell, GCompareFunc compare,
+ gboolean resizable);
+void e_table_col_destroy (ETableCol *etc);
#endif /* _E_TABLE_COL_H_ */