# GimpUi.IntComboBox.prototype.set_sensitivity

    function set_sensitivity(func: GimpUi.IntSensitivityFunc): void {
        // Gjs wrapper for gimp_int_combo_box_set_sensitivity()
    }

Sets a function that is used to decide about the sensitivity of rows in the combo_box. Use this if you want to set certain rows insensitive.

Calling gtk_widget_queue_draw() on the combo_box will cause the sensitivity to be updated.

Since 2.4

func

  a function that returns a boolean value, or null to unset