# Gimp.gradient_segment_range_flip

    @accepts(unicode, int, int)
    @returns(bool)
    def gradient_segment_range_flip(name, start_segment, end_segment):
        # Python wrapper for gimp_gradient_segment_range_flip()

Flip the segment range

This function flips a segment range.

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.

Returns