# GimpUi.ColorProfileComboBox.prototype.set_active_file

    function set_active_file(file: Gio.File, label: String): void {
        // Gjs wrapper for gimp_color_profile_combo_box_set_active_file()
    }

Selects a color profile from the combo and makes it the active item. If the profile is not listed in the combo, then it is added with the given label (or file in case that label is null).

Since 2.10

file

  file of the profile to select

label

  label to use when adding a new entry (can be null)