Gimp.Item.prototype.set_lock_content

function set_lock_content(lock_content: Boolean): Boolean {
    // Gjs wrapper for gimp_item_set_lock_content()
}
  

Set the 'lock content' state of the specified item.

This procedure sets the specified item's lock content state.

Since 2.8

lock_content

The new item 'lock content' state.

Returns

TRUE on success.