<?xml version="1.0"?>
<page id="Gimp.Item.delete"
      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.Item" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_item_delete</api:name>
    </api:function>
  </info>
  <title>Gimp.Item.prototype.delete</title>
  <synopsis><code mime="text/x-gjs">
function delete(): Boolean {
    // Gjs wrapper for gimp_item_delete()
}
  </code></synopsis>
  <p>Delete a item.</p>  <p>This procedure deletes the specified item. This must not be done if
the image containing this item was already deleted or if the item
was already removed from the image. The only case in which this
procedure is useful is if you want to get rid of a item which has
not yet been added to an image.</p>
  <p>Since 2.8</p>
<terms>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
