Gimp.context_get_pattern

function context_get_pattern(): String {
    // Gjs wrapper for gimp_context_get_pattern()
}
  

Retrieve the currently active pattern.

This procedure returns name of the the currently active pattern. All clone and bucket-fill operations with patterns will use this pattern to control the application of paint to the image.

Since 2.2

Returns

The name of the active pattern. The returned value must be freed with g_free().