# Gimp.gradients_set_popup

    function gradients_set_popup(gradient_callback: String, gradient_name: String): Boolean {
        // Gjs 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

  TRUE on success.