Gimp.gradients_popup

function gradients_popup(gradient_callback: String, popup_title: String, initial_gradient_name: String): Boolean {
    // Gjs wrapper for gimp_gradients_popup()
}
  

Invokes the Gimp gradients selection dialog.

Opens a dialog letting a user choose a gradient.

gradient_callback

The callback PDB proc to call when user chooses a gradient.

popup_title

Title of the gradient selection dialog.

initial_gradient_name

The name of the initial gradient choice.

Returns

TRUE on success.