# Gimp.gradient_segment_range_set_blending_function

    @accepts(unicode, int, int, Gimp.GradientSegmentType)
    @returns(bool)
    def gradient_segment_range_set_blending_function(name, start_segment, end_segment, blending_function):
        # Python wrapper for gimp_gradient_segment_range_set_blending_function()

Change the blending function of a segments range

This function changes the blending function of a segment range to the specified blending function.

Since 2.2

name

  The gradient name.

start_segment

  The index of the first segment to operate on.

end_segment

  The index of the last segment to operate on. If negative, the selection will extend to the end of the string.

blending_function

  The blending function.

Returns