Gimp.Layer.prototype.set_mode

function set_mode(mode: Gimp.LayerMode): Boolean {
    // Gjs wrapper for gimp_layer_set_mode()
}
  

Set the combination mode of the specified layer.

This procedure sets the specified layer's combination mode.

mode

The new layer combination mode.

Returns

TRUE on success.