set_color_array


Description:

public void set_color_array (string property_name, Color[] colors)

A function for bindings to set a [type@ColorArray] property.

Setting these with [method@GObject.Object.set] or [method@GObject.Object.set_property] won't work for the time being so all our boxed array types must be set and get using these alternative functions instead.

C plug-ins should just use [method@GObject.Object.set].

Parameters:

this

a ProcedureConfig

property_name

the name of a ParamSpecBoxed param spec with [type@ColorArray] value type.

colors

an array of [class@Gegl.Color].

n_colors

the numbers of colors.