Gimp.gradient_segment_range_set_coloring_type
@accepts(unicode, int, int, Gimp.GradientSegmentColor)
@returns(bool)
def gradient_segment_range_set_coloring_type(name, start_segment, end_segment, coloring_type):
# Python wrapper for gimp_gradient_segment_range_set_coloring_type()
Change the coloring type of a segments range
This function changes the coloring type of a segment range to the specified coloring type.
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.
- coloring_type
The coloring type.
- Returns