Gimp.gradients_get_list
function gradients_get_list(filter: String): Array(String) {
// Gjs wrapper for gimp_gradients_get_list()
}
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.
- Returns
The list of gradient names. The returned value must be freed with g_strfreev().