Gimp.gradient_new

function gradient_new(name: String): String {
    // Gjs wrapper for gimp_gradient_new()
}
  

Creates a new gradient

This procedure creates a new, uninitialized gradient

Since 2.2

name

The requested name of the new gradient.

Returns

The actual new gradient name. The returned value must be freed with g_free().