# Gimp.gradient_segment_get_coloring_type

    @accepts(unicode, int, Gimp.GradientSegmentColor)
    @returns(bool)
    def gradient_segment_get_coloring_type(name, segment, coloring_type):
        # Python wrapper for gimp_gradient_segment_get_coloring_type()

Retrieves the gradient segment's coloring type

This procedure retrieves the coloring type of the segment at the specified gradient name and segment index.

Since 2.2

name

  The gradient name.

segment

  The index of the segment within the gradient.

coloring_type

  The coloring type of the segment.

Returns