<?xml version="1.0"?>
<page id="GimpUi.NumberPairEntry.set_default_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.NumberPairEntry" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>gimp_number_pair_entry_set_default_text</api:name>
      <api:arg>
        <api:type>String</api:type>
        <api:name>string</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.NumberPairEntry.prototype.set_default_text</title>
  <synopsis><code mime="text/x-gjs">
function set_default_text(string: String): void {
    // Gjs wrapper for gimp_number_pair_entry_set_default_text()
}
  </code></synopsis>
  <p>Causes the entry to show a given string when in automatic mode,
instead of the default numbers. The only thing this does is making
the <link xref="GimpUi.NumberPairEntry"/> showing this string, the internal state
and API calls are not affected.</p>  <p>Set the default string to <code>null</code> to display default values as
normal.</p>
  <p>Since 2.4</p>
<terms>
<item>
<title><code>string</code></title>
  <p>Default string.</p>
</item>
</terms>

</page>
