aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-col.h
blob: 950bf2335294ddce9b4b54abdb0ab926c01d87c5 (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
#ifndef _E_TABLE_COL_H_
#define _E_TABLE_COL_H_

typedef struct _ETableCol ETableCol;
typedef struct _ECell     ECell;

/*
 * 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_ */