Gimp.Layer.prototype.set_lock_alpha

function set_lock_alpha(lock_alpha: Boolean): Boolean {
    // Gjs wrapper for gimp_layer_set_lock_alpha()
}
  

Set the lock alpha channel setting of the specified layer.

This procedure sets the specified layer's lock alpha channel setting.

lock_alpha

The new layer's lock alpha channel setting.

Returns

TRUE on success.