<?xml version="1.0"?>
<page id="Gimp.value_take_object_array"
      type="topic"
      style="function"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>gimp_value_take_object_array</api:name>
      <api:arg>
        <api:type>Any</api:type>
        <api:name>value</api:name>
      </api:arg>
      <api:arg>
        <api:type>GObject.Type</api:type>
        <api:name>object_type</api:name>
      </api:arg>
      <api:arg>
        <api:type>Array(GObject.Object)</api:type>
        <api:name>data</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.value_take_object_array</title>
  <synopsis><code mime="text/x-gjs">
function value_take_object_array(value: Any, object_type: GObject.Type, data: Array(<link href="../GObject-2.0/GObject.Object.html">GObject.Object</link>)): void {
    // Gjs wrapper for gimp_value_take_object_array()
}
  </code></synopsis>
  <p>Sets the contents of <code>value</code> to <code>data</code>, and takes ownership of <code>data</code>.</p>

<terms>
<item>
<title><code>value</code></title>
  <p>A valid value of type %GIMP_TYPE_OBJECT_ARRAY</p>
</item>
<item>
<title><code>object_type</code></title>
  <p>The <link href="../GLib-2.0/GLib.Type.html">GLib.Type</link> of the object elements</p>
</item>
<item>
<title><code>data</code></title>
  <p>A <link href="../GObject-2.0/GObject.Object.html">GObject.Object</link> array</p>
</item>
</terms>

</page>
