<?xml version="1.0"?>
<page id="Gimp.Layer.set_show_mask"
      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.Layer" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_layer_set_show_mask</api:name>
      <api:arg>
        <api:type>Boolean</api:type>
        <api:name>show_mask</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Layer.prototype.set_show_mask</title>
  <synopsis><code mime="text/x-gjs">
function set_show_mask(show_mask: Boolean): Boolean {
    // Gjs wrapper for gimp_layer_set_show_mask()
}
  </code></synopsis>
  <p>Set the show mask setting of the specified layer.</p>  <p>This procedure sets the specified layer's show mask setting. This
controls whether the layer or its mask is visible. TRUE indicates
that the mask should be visible. If there is no layer mask, this
function will return an error.</p>

<terms>
<item>
<title><code>show_mask</code></title>
  <p>The new layer's show mask setting.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
