<?xml version="1.0"?>
<page id="Gimp.Unit.get_number_of_built_in_units"
      type="topic"
      style="function"
      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.Unit" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>int</api:type>
      </api:returns>
      <api:name>gimp_unit_get_number_of_built_in_units</api:name>
    </api:function>
  </info>
  <title>Gimp.Unit.get_number_of_built_in_units</title>
  <synopsis><code mime="text/x-python">
@returns(int)
def get_number_of_built_in_units():
    # Python wrapper for gimp_unit_get_number_of_built_in_units()
  </code></synopsis>
  <p>Returns the number of <link xref="Gimp.Unit"/>'s which are hardcoded in the unit system
(UNIT_INCH, UNIT_MM, UNIT_POINT, UNIT_PICA and the two "pseudo unit"
 UNIT_PIXEL).</p>

<terms>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
