[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "3.0" ) ]
public unowned Color[] get_color_array (int index)
Return a pointer to the value at index contained in this.
This value is supposed to be a [type@ColorArray].
*Note*: most of the time, you should use the generic [method@Gimp.ValueArray.index] to retrieve a value, then the relevant `g_value_get_* ()` function. This alternative function is mostly there for bindings because GObject-Introspection is [not able yet to process correctly known boxed array types](https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/492).
There are no reasons to use this function in C code.
| this |
ValueArray to get a value from |
| index |
index of the value of interest |
|
the [type@ColorArray] stored at |