<?xml version="1.0"?>
<page id="Gimp.gradient_get_number_of_segments"
      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>Number(gint)</api:type>
      </api:returns>
      <api:name>gimp_gradient_get_number_of_segments</api:name>
      <api:arg>
        <api:type>String</api:type>
        <api:name>name</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.gradient_get_number_of_segments</title>
  <synopsis><code mime="text/x-gjs">
function gradient_get_number_of_segments(name: String): Number(gint) {
    // Gjs wrapper for gimp_gradient_get_number_of_segments()
}
  </code></synopsis>
  <p>Returns the number of segments of the specified gradient</p>  <p>This procedure returns the number of segments of the specified
gradient.</p>
  <p>Since 2.6</p>
<terms>
<item>
<title><code>name</code></title>
  <p>The gradient name.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>Number of segments.</p>
</item>
</terms>

</page>
