gradients_popup


Description:


public bool gradients_popup (string gradient_callback, string popup_title, Gradient? initial_gradient, Bytes? parent_window)

Invokes the Gimp gradients selection dialog.

Opens a dialog letting a user choose a gradient.

Parameters:

gradient_callback

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

popup_title

Title of the gradient selection dialog.

initial_gradient

The initial gradient choice.

parent_window

An optional parent window handle for the popup to be set transient to.

Returns:

TRUE on success.


Namespace: Gimp
Package: gimp-3.0