Gimp.Image.set_active_channel
@accepts(Gimp.Image, Gimp.Channel)
@returns(bool)
def set_active_channel(self, active_channel):
# Python wrapper for gimp_image_set_active_channel()
Sets the specified image's active channel.
If the channel exists, it is set as the active channel in the image. Any previous active channel or layer is set to inactive. An exception is a previously existing floating selection, in which case this procedure will return an execution error.
- self
The image.
- active_channel
The new image active channel.
- Returns