Gtk.ComboBox.new_with_model_and_entry

function new_with_model_and_entry(model:Gtk.TreeModel):Gtk.Widget {
    // Gjs wrapper for gtk_combo_box_new_with_model_and_entry()
}

Creates a new empty Gtk.ComboBox with an entry and with the model initialized to model.

model

A Gtk.TreeModel

Returns

A new Gtk.ComboBox