Gtk.EntryCompletion.prototype.get_model

function get_model():Gtk.TreeModel {
    // Gjs wrapper for gtk_entry_completion_get_model()
}

Returns the model the Gtk.EntryCompletion is using as data source. Returns null if the model is unset.

Since 2.4

Returns

A Gtk.TreeModel, or null if none is currently being used