MapListModel.setModel

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

Sets the model to be mapped.

GTK makes no effort to ensure that model conforms to the item type expected by the map function. It assumes that the caller knows what they are doing and have set up an appropriate map function.

Parameters

modelThe model to be mapped