# GimpUi.VectorsComboBox.new

    function new(): Gtk.Widget {
        // Gjs wrapper for gimp_vectors_combo_box_new()
    }

Creates a new GimpUi.IntComboBox filled with all currently opened vectors objects. If a constraint function is specified, it is called for each vectors object and only if the function returns true, the vectors object is added to the combobox.

You should use GimpUi.IntComboBox.prototype.connect to initialize and connect the combo. Use GimpUi.IntComboBox.prototype.set_active to set the active vectors ID and GimpUi.IntComboBox.prototype.get_active to retrieve the ID of the selected vectors object.

Since 2.4

Returns

  a new GimpUi.IntComboBox.