set_model


Description:

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 [[email protected]] yourself if you need to set up different cell renderers for the new model.

Parameters:

this

A `GtkComboBox`

model

A `GtkTreeModel`




2022 vala-language.org