Constructor
IdeCachedListModelnew
Description
Creates a new list model that caches the items.
This might be useful if have a GtkMapListModel which would otherwise discard your mapped items.
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.
Return value
Type: IdeCachedListModel
An IdeCachedListModel
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |