set_sensitive_if_in


Description:

[ CCode ( cname = "gimp_procedure_dialog_set_sensitive_if_in" ) ]
public void set_sensitive_if_in (string property, Object? config, string config_property, owned ValueArray values, bool in_values)

Sets sensitivity of the widget associated to property in this if the value of config_property in config is equal to one of values.

If config is null, then the configuration object of this is used.

If in_values is FALSE, then the widget is set sensitive if the value of config_property is **not** in values.

Parameters:

this

the ProcedureDialog.

property

name of a property of the Procedure this has been created for.

config

an optional config object (if null, property's config will be used).

config_property

name of a property of config.

values

an array of GValues which could be values of config_property.

in_values

whether property should be sensitive when config_property is one of values, or the opposite.