aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-defines.h
blob: 6c01e17a697d952e3b6c5ca2c62502d5c69dea72 (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
30
31
32
33
#ifndef __E_TABLE_DEFINES__
#define __E_TABLE_DEFINES__ 1

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#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;

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif