aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table-col.h
blob: 582c4eb383f68e5db5659a26e1aaa3996ebe7ece (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef _E_TABLE_COL_H_
#define _E_TABLE_COL_H_

#include "e-cell.h"

typedef struct _ETableCol ETableCol;

/*
 * Information about a single column
 */
struct _ETableCol {
    char              *id;
    short              width;
    short              min_width;
    short              x;
    GCompareFunc       compare;
    unsigned int       selected:1;
    unsigned int       resizeable:1;

    ECell             *ecell;
};

ETableCol *e_table_col_new (const char *id, int width, int min_width,
                ECell *ecell, GCompareFunc compare,
                gboolean resizable);
    

#endif /* _E_TABLE_COL_H_ */