TreeView.setModel

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.

class TreeView
void
setModel

Parameters

model TreeModelIF

The model.