Gimp.context_get_gradient
function context_get_gradient(): String {
// Gjs wrapper for gimp_context_get_gradient()
}
Retrieve the currently active gradient.
This procedure returns the name of the currently active gradient.
Since 2.2
- Returns
The name of the active gradient. The returned value must be freed with g_free().