<?xml version="1.0"?>
<page id="Gimp.Image.get_component_active"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.Image" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_image_get_component_active</api:name>
      <api:arg>
        <api:type>Gimp.ChannelType</api:type>
        <api:name>component</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Image.prototype.get_component_active</title>
  <synopsis><code mime="text/x-gjs">
function get_component_active(component: <link xref="Gimp.ChannelType">Gimp.ChannelType</link>): Boolean {
    // Gjs wrapper for gimp_image_get_component_active()
}
  </code></synopsis>
  <p>Returns if the specified image's image component is active.</p>  <p>This procedure returns if the specified image's image component
(i.e. Red, Green, Blue intensity channels in an RGB image) is active
or inactive -- whether or not it can be modified. If the specified
component is not valid for the image type, an error is returned.</p>

<terms>
<item>
<title><code>component</code></title>
  <p>The image component.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>Component is active.</p>
</item>
</terms>

</page>
