# GimpUi.ColorSelector.prototype.set_channel

    function set_channel(channel: GimpUi.ColorSelectorChannel): void {
        // Gjs wrapper for gimp_color_selector_set_channel()
    }

Sets the channel property of the selector widget.

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

channel

  The new channel setting.