<?xml version="1.0"?>
<page id="Gimp.Drawable.edit_clear"
      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.Drawable" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>bool</api:type>
      </api:returns>
      <api:name>gimp_drawable_edit_clear</api:name>
      <api:arg>
        <api:type>Gimp.Drawable</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Drawable.edit_clear</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.Drawable)
@returns(bool)
def edit_clear(self):
    # Python wrapper for gimp_drawable_edit_clear()
  </code></synopsis>
  <p>Clear selected area of drawable.</p>  <p>This procedure clears the specified drawable. If the drawable has an
alpha channel, the cleared pixels will become transparent. If the
drawable does not have an alpha channel, cleared pixels will be set
to the background color. This procedure only affects regions within
a selection if there is a selection active.</p>  <p>This procedure is affected by the following context setters:
<link xref="Gimp.context_set_background"/>.</p>

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

</page>
