<?xml version="1.0"?>
<page id="GimpUi.ColorSelector-set_channel"
      type="topic"
      style="vfunc"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="GimpUi.ColorSelector" group="vfunc" type="guide"/>
  </info>
  <title>GimpUi.ColorSelector::set_channel</title>
  <synopsis><code mime="text/x-python">
@accepts(GimpUi.ColorSelector, GimpUi.ColorSelectorChannel)
@returns(none)
def do_set_channel(selector, channel):
  </code></synopsis>
  <p>Sets the <code>channel</code> property of the <code>self</code> widget.</p>  <p>Changes between displayed channels if this <code>self</code> instance has
the ability to show different channels.
This will also update the color model if needed.</p>

<terms>
<item>
<title><code>selector</code></title>
  <p>A <link xref="GimpUi.ColorSelector"/> widget.</p>
</item>
<item>
<title><code>channel</code></title>
  <p>The new <code>channel</code> setting.</p>
</item>
</terms>

</page>
