Gtk.TreeView.prototype.set_model
function set_model(model:Gtk.TreeModel):void { // Gjs wrapper for gtk_tree_view_set_model() }
Sets the model for a Gtk.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.
- model
The model.