Gimp.patterns_get_list

function patterns_get_list(filter: String): Array(String) {
    // Gjs wrapper for gimp_patterns_get_list()
}
  

Retrieve a complete listing of the available patterns.

This procedure returns a complete listing of available GIMP patterns. Each name returned can be used as input to the Gimp.context_set_pattern.

filter

An optional regular expression used to filter the list.

Returns

The list of pattern names. The returned value must be freed with g_strfreev().