<?xml version="1.0"?>
<page id="GimpUi.LabelColor.get_color_widget"
      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="GimpUi.LabelColor" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Gtk.Widget</api:type>
      </api:returns>
      <api:name>gimp_label_color_get_color_widget</api:name>
      <api:arg>
        <api:type>GimpUi.LabelColor</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.LabelColor.get_color_widget</title>
  <synopsis><code mime="text/x-python">
@accepts(GimpUi.LabelColor)
@returns(Gtk.Widget)
def get_color_widget(self):
    # Python wrapper for gimp_label_color_get_color_widget()
  </code></synopsis>
  <p>This function returns the color widget packed in <code>self</code>, which can be
either a <link xref="GimpUi.ColorButton"/> (if the <code>self</code> is editable) or a
<link xref="GimpUi.ColorArea"/> otherwise.</p>

<terms>
<item>
<title><code>self</code></title>
  <p>The <link xref="GimpUi.LabelColor"/></p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
