Function

Gimpgradient_new

since: 2.2

Declaration [src]

gchar*
gimp_gradient_new (
  const gchar* name
)

Description [src]

Creates a new gradient

This procedure creates a new, uninitialized gradient.

Available since: 2.2

Parameters

name

Type: const gchar*

The requested name of the new gradient.

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

Return value

Type: gchar*

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

The caller of the function takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.