Copyright (C) 2000-2012 |
Whole document tree ETableSortInfoSynopsisSignal Prototypes
DescriptionThe ETableSortInfo is typically one of the elements of an ETableState object. The ETableSortInfo object is used to maintain the multi-level sorting and multi-level grouping information that is used by the ETable widget. By appending sorting criterias (using the e_table_sort_info_grouping_set_nth() and e_table_sort_info_sorting_set_nth you can append new criteria about how sorting and grouping should take place in the ETable. This object emits the `sort_info_changed' and `group_info_changed' signals when grouping and sorting are added, modified or removed. You can at any point reduce the criteria by using the "truncate" functions; You can modify any criteria by using the "set" functions, and you can get the individual state information by using the "get" functions. DetailsETableSortInfo
struct ETableSortColumn
The bit field ascending is interpreted as a boolean value that will trigger ascending ordering. The column is an integer that reflects the column. e_table_sort_info_freeze ()
This functions allows the programmer to cluster various changes to the ETableSortInfo (grouping and sorting) without having the object emit "group_info_changed" or "sort_info_changed" signals on each change. To thaw, invoke the e_table_sort_info_thaw() function, which will trigger any signals that might have been queued. e_table_sort_info_thaw ()
This functions allows the programmer to cluster various changes to the ETableSortInfo (grouping and sorting) without having the object emit "group_info_changed" or "sort_info_changed" signals on each change. This function will flush any pending signals that might be emited by this object. e_table_sort_info_grouping_get_count ()
e_table_sort_info_grouping_truncate ()
This routine can be used to reduce or grow the number of grouping criteria in the object. e_table_sort_info_grouping_get_nth ()
e_table_sort_info_grouping_set_nth ()
Sets the grouping criteria for index n to be given by column (a column number and whether it is ascending or descending). e_table_sort_info_sorting_get_count ()
e_table_sort_info_sorting_truncate ()
This routine can be used to reduce or grow the number of sort criteria in the object. e_table_sort_info_sorting_get_nth ()
Sets the sorting criteria for index n to be given by column (a column number and whether it is ascending or descending). e_table_sort_info_sorting_set_nth ()
e_table_sort_info_new ()
This creates a new e_table_sort_info object that contains no grouping and no sorting defined as of yet. This object is used to keep track of multi-level sorting and multi-level grouping of the ETable. e_table_sort_info_load_from_node ()
This loads the state for the ETableSortInfo object info from the xml node node. e_table_sort_info_save_to_node ()
This function is used SignalsThe "sort-info-changed" signal
This signal is emitted when the sort information has been changed trough the API. The "group-info-changed" signal
This signal is emitted when the grouping information has been changed trough the API> |