Constructor
GtkSortListModelnew
Declaration [src]
GtkSortListModel*
gtk_sort_list_model_new (
GListModel* model,
GtkSorter* sorter
)
Parameters
model-
Type:
GObjectThe model to sort.
The argument can be NULL.The called function takes ownership of the data, and is responsible for freeing it. sorter-
Type:
GtkSorterThe
GtkSorterto sortmodelwith,.The argument can be NULL.The called function takes ownership of the data, and is responsible for freeing it.
Return value
Type: GtkSortListModel
A new GtkSortListModel.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |