[ Version ( since = "2.4" ) ]
public void set_model (TreeModel? model)
Sets the model used by this to be model
.
Will unset a previously set model (if applicable). If model is null, then it will unset the model.
Note that this function does not clear the cell renderers, you have to call clear yourself if you need to set up different cell renderers for the new model.
this |
A ComboBox |
model |