patterns_get_list


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public (unowned Pattern)[] patterns_get_list (string? filter)

Retrieve a complete listing of the available patterns.

This procedure returns a complete listing of available GIMP patterns. Each pattern returned can be used as input to [ func@Gimp.context_set_pattern].

Parameters:

filter

An optional regular expression used to filter the list.

Returns:

The list of patterns. The returned value must be freed with g_free.


Namespace: Gimp
Package: gimp-3.0