set_model


Description:

public void set_model (TreeModel? model)

Sets the model for a TreeView.

If the this 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:

this

A TreeView.

model

The model.