Gtk.Entry.prototype.set_completion

function set_completion(completion:Gtk.EntryCompletion):void {
    // Gjs wrapper for gtk_entry_set_completion()
}

Sets completion to be the auxiliary completion object to use with entry. All further configuration of the completion mechanism is done on completion using the Gtk.EntryCompletion API. Completion is disabled if completion is set to null.

Since 2.4

completion

The Gtk.EntryCompletion or null