Gtk.EntryCompletion.prototype.set_model

function set_model(model:Gtk.TreeModel):void {
    // Gjs wrapper for gtk_entry_completion_set_model()
}

Sets the model for a Gtk.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.

Since 2.4

model

the Gtk.TreeModel