Method
RBRhythmDBQueryModelset_sort_order
Declaration [src]
void
rhythmdb_query_model_set_sort_order (
  RhythmDBQueryModel* model,
  GCompareDataFunc sort_func,
  gpointer sort_data,
  GDestroyNotify sort_data_destroy,
  gboolean sort_reverse
)
Description [src]
Sets a new sort order on the model. This reorders the entries in the model to match the new sort order.
Parameters
- sort_func
- 
            Type: GCompareDataFuncNew sort function. 
- sort_data
- 
            Type: gpointerData to pass to the new sort function. The argument can be NULL.The data is owned by the caller of the method. 
- sort_data_destroy
- 
            Type: GDestroyNotifyFunction to call to free the sort data. 
- sort_reverse
- 
            Type: gbooleanIf TRUE, reverse the sort order.