Function

Gimpgradients_popup

Declaration [src]

gboolean
gimp_gradients_popup (
  const gchar* gradient_callback,
  const gchar* popup_title,
  const gchar* initial_gradient_name
)

Description [src]

Invokes the Gimp gradients selection dialog.

Opens a dialog letting a user choose a gradient.

Parameters

gradient_callback const gchar*
 

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

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
popup_title const gchar*
 

Title of the gradient selection dialog.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
initial_gradient_name const gchar*
 

The name of the initial gradient choice.

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.

Return value

Returns: gboolean
 

TRUE on success.