Gimp.Palette.get_colors

@accepts(Gimp.Palette)
@returns([Gegl.Color])
def get_colors(self):
    # Python wrapper for gimp_palette_get_colors()
  

Gets colors in the palette.

Returns an array of colors in the palette. Free the returned array with Gimp.color_array_free.

Since 2.6

self

The palette.

Returns