<?xml version="1.0"?>
<page id="GimpUi.Labeled.set_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>none</api:type>
      </api:returns>
      <api:name>gimp_labeled_set_text</api:name>
      <api:arg>
        <api:type>GimpUi.Labeled</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>text</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.Labeled.set_text</title>
  <synopsis><code mime="text/x-python">
@accepts(GimpUi.Labeled, unicode)
@returns(none)
def set_text(self, text):
    # Python wrapper for gimp_labeled_set_text()
  </code></synopsis>
  <p>This is the equivalent of running
gtk_label_set_markup_with_mnemonic() on the <link href="../Gtk-3.0/Gtk.Label.html">Gtk.Label</link> as a
<link xref="GimpUi.Labeled"/> expects a mnemonic. Pango markup are also allowed.</p>

<terms>
<item>
<title><code>self</code></title>
  <p>the <link xref="GimpUi.Labeled"/>.</p>
</item>
<item>
<title><code>text</code></title>
  <p>label text with Pango markup and mnemonic.</p>
</item>
</terms>

</page>
