# Gimp.gradients_popup

    @accepts(unicode, unicode, unicode, int)
    @returns(bool)
    def gradients_popup(gradient_callback, popup_title, initial_gradient, sample_size):
        # Python wrapper for gimp_gradients_popup()

Invokes the Gimp gradients selection.

This procedure opens the gradient selection dialog.

gradient_callback

  The callback PDB proc to call when gradient selection is made.

popup_title

  Title of the gradient selection dialog.

initial_gradient

  The name of the gradient to set as the first selected.

sample_size

  Size of the sample to return when the gradient is changed.

Returns