aboutsummaryrefslogblamecommitdiffstats
path: root/widgets/table/e-table-defines.h
blob: 01208da1aa5d128db63b9f57ce017769343bec07 (plain) (tree)
1
2
3
4
5
6
7
8
9


                             


                                                                   
 

                                                    


                         


                                                     




                              
                                   

                   
      
#ifndef __E_TABLE_DEFINES__
#define __E_TABLE_DEFINES__ 1

#define BUTTON_HEIGHT        10
#define BUTTON_PADDING       2
#define GROUP_INDENT         (BUTTON_HEIGHT + (BUTTON_PADDING * 2))

/* Padding around the contents of a header button */
#define HEADER_PADDING 1

#define MIN_ARROW_SIZE 10

typedef void (*ETableForeachFunc) (int model_row,
                   gpointer closure);

/* list selection modes */
typedef enum
{
    E_TABLE_CURSOR_LINE,
    E_TABLE_CURSOR_SIMPLE,
    E_TABLE_CURSOR_SPREADSHEET,
} ETableCursorMode;

#endif