GimpUi.GradientSelectButton.prototype.set_gradient

function set_gradient(gradient_name: String): void {
    // Gjs wrapper for gimp_gradient_select_button_set_gradient()
}
  

Sets the current gradient for the gradient select button.

Since 2.4

gradient_name

Gradient name to set.