<?xml version="1.0"?>
<page id="Gimp.Image.is_dirty"
      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>bool</api:type>
      </api:returns>
      <api:name>gimp_image_is_dirty</api:name>
      <api:arg>
        <api:type>Gimp.Image</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Image.is_dirty</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Image)
@returns(bool)
def is_dirty(self):
    # Python wrapper for gimp_image_is_dirty()
  </code></synopsis>
  <p>Checks if the image has unsaved changes.</p>  <p>This procedure checks the specified image's dirty count to see if it
needs to be saved. Note that saving the image does not automatically
set the dirty count to 0, you need to call <link xref="Gimp.Image.clean_all"/>
after calling a save procedure to make the image clean.</p>

<terms>
<item>
<title><code>self</code></title>
  <p>The image.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
