[ Version ( since = "2.4" ) ]
public void set_model (TreeModel? model)
Sets the model used by this to be model.
Use [class@Gtk.DropDown]
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 [method@Gtk.CellLayout.clear] yourself if you need to set up different cell renderers for the new model.
| this |
A `GtkComboBox` |
| model |
A `GtkTreeModel` |