take_selected_channels


Description:

[ Version ( since = "3.0" ) ]
public bool take_selected_channels (owned List<unowned Channel> channels)

The channels are set as the selected channels 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.

channels

The list of channels to select.

Returns:

TRUE on success.