Gimp.RGB.list_names

@accepts([unicode], [Gimp.RGB], int)
@returns(none)
def list_names(names, colors, n_colors):
    # Python wrapper for gimp_rgb_list_names()
  

Returns the list of <ulink url="https://www.w3.org/TR/SVG/types.html">SVG 1.0 color keywords</ulink> that is used by Gimp.RGB.parse_name.

The returned strings are const and must not be freed. Only the two arrays are allocated dynamically. You must call g_free() on the names and colors arrays when they are not any longer needed.

Since 2.2

names

return location for an array of color names

colors

return location for an array of GimpRGB structs

n_colors

The number of named colors