Gtk.ComboBox.new_with_model

function new_with_model(model:Gtk.TreeModel):Gtk.Widget {
    // Gjs wrapper for gtk_combo_box_new_with_model()
}

Creates a new Gtk.ComboBox with the model initialized to model.

Since 2.4

model

A Gtk.TreeModel.

Returns

A new Gtk.ComboBox.