# Gimp.context_set_stroke_method

    @accepts(Gimp.StrokeMethod)
    @returns(bool)
    def context_set_stroke_method(stroke_method):
        # Python wrapper for gimp_context_set_stroke_method()

Set the specified stroke method as the active stroke method.

This procedure set the specified stroke method as the active stroke method. The new method will be used in all subsequent stroke operations.

Since 2.10

stroke_method

  The new stroke method.

Returns