| Top |
ETableGroup * e_table_group_container_new (GnomeCanvasGroup *parent,ETableHeader *full_header,ETableHeader *header,ETableModel *model,ETableSortInfo *sort_info,gint n);
ETableGroupContainer is an ETableGroup which groups by the nth
grouping of the ETableSortInfo. It creates ETableGroups as
children.
parent |
The |
|
full_header |
The full header of the |
|
header |
The current header of the |
|
model |
The |
|
sort_info |
The |
|
n |
Which grouping level this is (Starts at 0 and sends n + 1 to any child |
void e_table_group_container_construct (GnomeCanvasGroup *parent,ETableGroupContainer *etgc,ETableHeader *full_header,ETableHeader *header,ETableModel *model,ETableSortInfo *sort_info,gint n);
This routine constructs the new ETableGroupContainer.
parent |
The |
|
etgc |
The |
|
full_header |
The full header of the |
|
header |
The current header of the |
|
model |
The |
|
sort_info |
The |
|
n |
Which grouping level this is (Starts at 0 and sends n + 1 to any child |
gboolean
e_table_group_container_is_editing (ETableGroupContainer *etgc);
struct ETableGroupContainerChildNode {
ETableGroup *child;
gpointer key;
gchar *string;
GnomeCanvasItem *text;
GnomeCanvasItem *rect;
gint count;
};
struct ETableGroupContainer {
ETableGroup group;
/*
* The ETableCol used to group this set
*/
ETableCol *ecol;
gint ascending;
/*
* List of ETableGroups we stack
*/
GList *children;
/*
* The canvas rectangle that contains the children
*/
GnomeCanvasItem *rect;
PangoFontDescription *font_desc;
gdouble width, height, minimum_width;
ETableSortInfo *sort_info;
gint n;
gint length_threshold;
ESelectionModel *selection_model;
guint alternating_row_colors : 1;
guint horizontal_draw_grid : 1;
guint vertical_draw_grid : 1;
guint draw_focus : 1;
guint uniform_row_height : 1;
ECursorMode cursor_mode;
/*
* State: the ETableGroup is open or closed
*/
guint open : 1;
};