GimpUi.StringComboBox.prototype.set_active

function set_active(id: String): Boolean {
    // Gjs wrapper for gimp_string_combo_box_set_active()
}
  

Looks up the item that belongs to the given id and makes it the selected item in the combo_box.

Since 2.4

id

the ID of the item to select

Returns

true on success or false if there was no item for this value.