Method
GimpGradientsegment_range_set_coloring_type
since: 2.2
Declaration [src]
gboolean
gimp_gradient_segment_range_set_coloring_type (
  GimpGradient* gradient,
  gint start_segment,
  gint end_segment,
  GimpGradientSegmentColor coloring_type
)
Description [src]
Sets the coloring type of a range of segments
Sets the coloring type of a range of segments. Returns an error when a segment index is out of range, or gradient is not editable.
Available since: 2.2
Parameters
- start_segment
- 
            Type: gintIndex of the first segment to operate on. 
- end_segment
- 
            Type: gintIndex of the last segment to operate on. If negative, the range will extend to the end segment. 
- coloring_type
- 
            Type: GimpGradientSegmentColorThe coloring type.