EntryCompletion.setModel

void setModel(gtk.tree_model.TreeModel model = null)

Sets the model for a [gtk.entry_completion.EntryCompletion].

If completion already has a model set, it will remove it before setting the new model. If model is null, then it will unset the model.

Parameters

modelthe [gtk.tree_model.TreeModel]

Deprecated

GtkEntryCompletion will be removed in GTK 5.