Top | ![]() |
![]() |
![]() |
![]() |
gboolean
gimp_gradients_refresh (void
);
Refresh current gradients. This function always succeeds.
This procedure retrieves all gradients currently in the user's gradient path and updates the gradient dialogs accordingly.
gchar ** gimp_gradients_get_list (const gchar *filter
,gint *num_gradients
);
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.
filter |
An optional regular expression used to filter the list. |
|
num_gradients |
The number of loaded gradients. |
[out] |
The list of gradient names.
The returned value must be freed with g_strfreev()
.
[array length=num_gradients][element-type gchar*][transfer full]