# GimpUi.GradientSelectButton::gradient-set

    def callback(gradient_select_button, gradient_name, width, grad_data, dialog_closing, user_param1, ...)

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

Since 2.4

## user_param1

gradient_select_button

  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.

...

  additional user parameters (if any)