Function

Gimpgradients_get_list

Declaration [src]

gchar**
gimp_gradients_get_list (
  const gchar* filter
)

Description [src]

Retrieve the list of loaded gradients.

This procedure returns a list of the gradients that are currently loaded. You can later use the gimp_context_set_gradient() function to set the active gradient.

Parameters

filter const gchar*
 

An optional regular expression used to filter the list.

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

Return value

Returns: An array of utf8
 
     The list of gradient names.
     The returned value must be freed with g_strfreev().
 The array is NULL-terminated.
 The caller of the function takes ownership of the data, and is responsible for freeing it.
 Each element is a NUL terminated UTF-8 string.