<?xml version="1.0"?>
<page id="Gimp.TextLayer.set_language"
      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.TextLayer" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>bool</api:type>
      </api:returns>
      <api:name>gimp_text_layer_set_language</api:name>
      <api:arg>
        <api:type>Gimp.TextLayer</api:type>
        <api:name>self</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>language</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.TextLayer.set_language</title>
  <synopsis><code mime="text/x-python">
@accepts(Gimp.TextLayer, unicode)
@returns(bool)
def set_language(self, language):
    # Python wrapper for gimp_text_layer_set_language()
  </code></synopsis>
  <p>Set the language of the text layer.</p>  <p>This procedure sets the language of the text in text layer. For some
scripts the language has an influence of how the text is rendered.</p>
  <p>Since 2.6</p>
<terms>
<item>
<title><code>self</code></title>
  <p>The text layer.</p>
</item>
<item>
<title><code>language</code></title>
  <p>The new language to use for the text layer.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
