| Evolution Utilities Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
struct ETableGroupContainerChildNode; struct ETableGroupContainer; ETableGroup * e_table_group_container_new (GnomeCanvasGroup *parent,ETableHeader *full_header,ETableHeader *header,ETableModel *model,ETableSortInfo *sort_info,gint n); void e_table_group_container_construct (GnomeCanvasGroup *parent,ETableGroupContainer *etgc,ETableHeader *full_header,ETableHeader *header,ETableModel *model,ETableSortInfo *sort_info,gint n);
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;
};
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.
|
The GnomeCanvasGroup to create a child of. |
|
The full header of the ETable. |
|
The current header of the ETable. |
|
The ETableModel of the ETable. |
|
The ETableSortInfo of the ETable. |
|
Which grouping level this is (Starts at 0 and sends n + 1 to any child ETableGroups. |
Returns : |
The new ETableGroupContainer. |
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.
|
The GnomeCanvasGroup to create a child of. |
|
The ETableGroupContainer. |
|
The full header of the ETable. |
|
The current header of the ETable. |
|
The ETableModel of the ETable. |
|
The ETableSortInfo of the ETable. |
|
Which grouping level this is (Starts at 0 and sends n + 1 to any child ETableGroups. |