Gimp.Channel.set_opacity

@accepts(Gimp.Channel, float)
@returns(bool)
def set_opacity(self, opacity):
    # Python wrapper for gimp_channel_set_opacity()
  

Set the opacity of the specified channel.

This procedure sets the specified channel's opacity.

self

The channel.

opacity

The new channel opacity.

Returns