GimpUi.GradientSelectButton.set_gradient

@accepts(GimpUi.GradientSelectButton, unicode)
@returns(none)
def set_gradient(self, gradient_name):
    # Python wrapper for gimp_gradient_select_button_set_gradient()
  

Sets the current gradient for the gradient select button.

Since 2.4

self

A GimpUi.GradientSelectButton

gradient_name

Gradient name to set.