take_selected_layers


Description:

[ Version ( since = "3.0" ) ]
public bool take_selected_layers (owned List<unowned Layer> 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.

Parameters:

this

The image.

layers

The list of layers to select.

Returns:

TRUE on success.