GtkTreeSortableIface

Members

Variables

gIface
GTypeInterface gIface;
getSortColumnId
bool function(GtkTreeSortable* sortable, int* sortColumnId, GtkSortType* order) getSortColumnId;

Fills in sort_column_id and order with the current sort column and the order.

hasDefaultSortFunc
bool function(GtkTreeSortable* sortable) hasDefaultSortFunc;

true if the model has a default sort function.

setDefaultSortFunc
void function(GtkTreeSortable* sortable, GtkTreeIterCompareFunc sortFunc, void* userData, GDestroyNotify destroy) setDefaultSortFunc;

Sets the default comparison function used when sorting to be sort_func.

setSortColumnId
void function(GtkTreeSortable* sortable, int sortColumnId, GtkSortType order) setSortColumnId;

Sets the current sort column to be sort_column_id.

setSortFunc
void function(GtkTreeSortable* sortable, int sortColumnId, GtkTreeIterCompareFunc sortFunc, void* userData, GDestroyNotify destroy) setSortFunc;

Sets the comparison function used when sorting to be sort_func.

sortColumnChanged
void function(GtkTreeSortable* sortable) sortColumnChanged;

Signal emitted when the sort column or sort order of sortable is changed.