gimp-context-set-gradient

Michael Natterer <mitch@gimp.org> & Sven Neumann <sven@gimp.org>

Description

Sets the specified gradient as the active gradient.

Help

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. 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.


Type

unknown

Parameters

Type Name Description
PF_VALUE name The name of the gradient

Return

None