# Gimp.context_get_brush

    function context_get_brush(): String {
        // Gjs wrapper for gimp_context_get_brush()
    }

Retrieve the currently active brush.

This procedure returns the name of the currently active brush. All paint operations and stroke operations use this brush to control the application of paint to the image.

Since 2.2

Returns

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