Constructor
IdeUniqueListModelnew
since: 44
Description
Creates a new IdeUniqueListModel
which can deduplicate items
which are sequential.
Available since: 44
Parameters
model
-
Type:
GObject
A
GListModel
orNULL
.The argument can be NULL
.The called function takes ownership of the data, and is responsible for freeing it. sorter
-
Type:
GtkSorter
A
GtkSorter
orNULL
.The argument can be NULL
.The called function takes ownership of the data, and is responsible for freeing it.
Return value
Type: IdeUniqueListModel
An IdeUniqueListModel
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |