<?xml version="1.0"?>
<page id="GimpUi.Labeled.get_text"
      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.Labeled" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>unicode</api:type>
      </api:returns>
      <api:name>gimp_labeled_get_text</api:name>
      <api:arg>
        <api:type>GimpUi.Labeled</api:type>
        <api:name>self</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.Labeled.get_text</title>
  <synopsis><code mime="text/x-python">
@accepts(GimpUi.Labeled)
@returns(unicode)
def get_text(self):
    # Python wrapper for gimp_labeled_get_text()
  </code></synopsis>
  <p>This function will return exactly what you entered with
<link xref="GimpUi.Labeled.set_text"/> or through the "label" property because this
class expects labels to have mnemonics (and allows Pango formatting).
To obtain instead the text as displayed with mnemonics and markup
removed, call:
</p>
```c

gtk_label_get_text (GTK_LABEL (gimp_labeled_get_label (<code>self</code>)));

```
<p></p>

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

</page>
