aboutsummaryrefslogblamecommitdiffstats
path: root/widgets/e-table/e-table-col.h
blob: 582c4eb383f68e5db5659a26e1aaa3996ebe7ece (plain) (tree)
1
2
3
4
5
6


                       

                   
                                    








                                     
                                   

                                        

                                 


                                                                     

                                                               


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