TreeView.setModel
void setModel(gtk.tree_model.TreeModel model = null)Sets the model for a [gtk.tree_view.TreeView]. If the tree_view already has a model set, it will remove it before setting the new model. If model is null, then it will unset the old model.
Parameters
model | The model. |
Deprecated
Use [gtk.list_view.ListView] or [gtk.column_view.ColumnView] instead