TreeView.setModel

Sets the model for a #GtkTreeView. 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.

class TreeView
void
setModel

Parameters

model gtk.tree_model.TreeModel

The model.