Gimp.Layer.set_show_mask

@accepts(Gimp.Layer, bool)
@returns(bool)
def set_show_mask(self, show_mask):
    # Python wrapper for gimp_layer_set_show_mask()
  

Set the show mask setting of the specified layer.

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.

self

The layer.

show_mask

The new layer's show mask setting.

Returns