
2001-01-30 Christopher James Lahey <clahey@helixcode.com> * e-table-click-to-add.c (etcta_event): Made the contained %ETableItem have cursor_mode as %E_TABLE_CURSOR_SPREADSHEET. * e-table-defines.h, e-table-item.c, e-table-specification.c: Added a new cursor mode E_TABLE_CURSOR_SPREADSHEET. This is accessed using cursor_mode="spreadsheet" in your specification xml, as well as by the click_to_add item. It is identical to E_TABLE_CURSOR_SIMPLE, except that tab goes to the next item in the table instead of to the next widget. svn path=/trunk/; revision=7910
25 lines
519 B
C
25 lines
519 B
C
#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
|