GimpUi.ColorSelector::set_channel

@accepts(GimpUi.ColorSelector, GimpUi.ColorSelectorChannel)
@returns(none)
def do_set_channel(selector, channel):
  

Sets the channel property of the self widget.

Changes between displayed channels if this self instance has the ability to show different channels. This will also update the color model if needed.

selector

A GimpUi.ColorSelector widget.

channel

The new channel setting.