gimp_gradients_set_active - Sets the specified gradient as the active gradient.
SYNOPSIS
gimp_gradients_set_active (name)
DESCRIPTION
This procedure lets you set the specified gradient as the active or "current" one. The name is simply a string which corresponds to one of the loaded gradients in the gradient editor. If no matching gradient is found, this procedure will return an error. Otherwise, the specified gradient will become active and will be used for subsequent custom gradient operations.