Gimp.Image.prototype.set_selected_layers
function set_selected_layers(layers: Array(Gimp.Layer)): Boolean {
// Gjs wrapper for gimp_image_set_selected_layers()
}
Sets the specified image's selected layers.
The layers are set as the selected layers in the image. Any previous selected layers or channels are unselected. An exception is a previously existing floating selection, in which case this procedure will return an execution error.
Since 3.0.0
- layers
The list of layers to select.
- Returns
TRUE on success.