GimpUi.ProcedureDialog.prototype.set_sensitive

function set_sensitive(property: String, sensitive: Boolean, config: GObject.Object, config_property: String, config_invert: Boolean): void {
    // Gjs wrapper for gimp_procedure_dialog_set_sensitive()
}
  

Sets sensitivity of the widget associated to property in dialog. If config is null, then it is set to the value of sensitive. Otherwise sensitive is ignored and sensitivity is bound to the value of config_property of config (or the negation of this value if @config_reverse is true).

property

name of a property of the Gimp.Procedure dialog has been created for.

sensitive

whether the widget associated to property should be sensitive.

config

an optional config object.

config_property

name of a property of config.

config_invert

whether to negate the value of config_property.