org.gnu.gtk
public class TreeSortableHelper extends Object
Method Summary | |
---|---|
static TreeIterComparison | getMethod(TreeSortable sortable, int column)
Get the TreeIterComparison object stored for this column. |
static DataColumn | getSortColumn(TreeSortable sortable)
Get a DataColumn object representing the currently sorted column. |
static SortType | getSortOrder(TreeSortable sortable)
Get the current sorting order of the store.
|
static Type | getType()
Retrieve the runtime type used by the GLib library. |
static void | setSortColumn(TreeSortable sortable, DataColumn column, SortType order)
Set the column in the list to sort on. |
static void | setSortMethod(TreeSortable sortable, TreeIterComparison method, DataColumn column)
Set the class used to sort the list according to the values stored in the
given DataColumn.
|
Returns: A DataColumn object representing the currently sorted column or null if there is no column currently sorted.
Returns: A SortType object defining the current sorting order of the store or null if there is no current sort order.
"handleCompareFunc" is part of the TreeSortable interface.