GimpUi.GradientSelectButton::gradient-set

connect('gradient-set', function (gradientSelectButton, gradient_name: String, width: Number(gint), grad_data: void, dialog_closing: Boolean, ): void);
  

The ::gradient-set signal is emitted when the user selects a gradient.

Since 2.4

gradientSelectButton

instance of GimpUi.GradientSelectButton that is emitting the signal

gradient_name

the name of the currently selected gradient.

width

width of the gradient

grad_data

gradient data

dialog_closing

whether the dialog was closed or not.