<?xml version="1.0"?>
<page id="Gimp.ValueArray.new_from_values"
      type="topic"
      style="constructor"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.ValueArray" group="constructor" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gimp.ValueArray</api:type>
      </api:returns>
      <api:name>gimp_value_array_new_from_values</api:name>
      <api:arg>
        <api:type>Array(Any)</api:type>
        <api:name>values</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.ValueArray.new_from_values</title>
  <synopsis><code mime="text/x-gjs">
function new_from_values(values: Array(Any)): <link xref="Gimp.ValueArray">Gimp.ValueArray</link> {
    // Gjs wrapper for gimp_value_array_new_from_values()
}
  </code></synopsis>
  <p>Allocate and initialize a new <link xref="Gimp.ValueArray"/>, and fill it with
the given <link href="../GObject-2.0/GObject.Value.html">GObject.Values</link>.  When no <link href="../GObject-2.0/GObject.Value.html">GObject.Values</link> are given, returns empty <link xref="Gimp.ValueArray"/>.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>values</code></title>
  <p>The <link href="../GObject-2.0/GObject.Value.html">GObject.Value</link> elements</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>a newly allocated <link xref="Gimp.ValueArray"/>.</p>
</item>
</terms>

</page>
