# Gimp.gradients_set_popup

    @accepts(unicode, unicode)
    @returns(bool)
    def gradients_set_popup(gradient_callback, gradient_name):
        # Python wrapper for gimp_gradients_set_popup()

Sets the current gradient in a gradient selection dialog.

Sets the current gradient in a gradient selection dialog.

gradient_callback

  The name of the callback registered for this pop-up.

gradient_name

  The name of the gradient to set as selected.

Returns