<?xml version="1.0"?>
<page id="Gimp.Image.get_item_position"
      type="topic"
      style="method"
      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.Image" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Number(gint)</api:type>
      </api:returns>
      <api:name>gimp_image_get_item_position</api:name>
      <api:arg>
        <api:type>Gimp.Item</api:type>
        <api:name>item</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Image.prototype.get_item_position</title>
  <synopsis><code mime="text/x-gjs">
function get_item_position(item: <link xref="Gimp.Item">Gimp.Item</link>): Number(gint) {
    // Gjs wrapper for gimp_image_get_item_position()
}
  </code></synopsis>
  <p>Returns the position of the item in its level of its item tree.</p>  <p>This procedure determines the position of the specified item in its
level in its item tree in the image. If the item doesn't exist in
the image, or the item is not part of an item tree, an error is
returned.</p>
  <p>Since 2.8</p>
<terms>
<item>
<title><code>item</code></title>
  <p>The item.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>The position of the item in its level in the item tree.</p>
</item>
</terms>

</page>
