Gimp.ValueArray.prototype.get_core_object_array

function get_core_object_array(index: Number(gint)): Array(GObject.Object) {
    // Gjs wrapper for gimp_value_array_get_core_object_array()
}
  

Return a pointer to the value at index contained in value_array. This value is supposed to be a [type@CoreObjectArray].

*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.

Since 3.0

index

index of the value of interest

Returns

the [type@CoreObjectArray] stored at index in value_array.