<?xml version="1.0"?>
<page id="Gimp.Image.undo_disable"
      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_undo_disable</api:name>
      <api:arg>
        <api:type>Gimp.Image</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Image.undo_disable</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Image)
@returns(bool)
def undo_disable(self):
    # Python wrapper for gimp_image_undo_disable()
  </code></synopsis>
  <p>Disable the image's undo stack.</p>  <p>This procedure disables the image's undo stack, allowing subsequent
operations to ignore their undo steps. This is generally called in
conjunction with <link xref="Gimp.Image.undo_enable"/> to temporarily disable an
image undo stack. This is advantageous because saving undo steps can
be time and memory intensive.</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>
