SliceListModel.setModel

void setModel(gio.list_model.ListModel model = null)

Sets the model to show a slice of.

The model's item type must conform to self's item type.

Parameters

modelThe model to be sliced