<?xml version="1.0"?>
<page id="Gimp.gimprc_query"
      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="index" group="function" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>unicode</api:type>
      </api:returns>
      <api:name>gimp_gimprc_query</api:name>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>token</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.gimprc_query</title>
  <synopsis><code mime="text/x-python">
@accepts(unicode)
@returns(unicode)
def gimprc_query(token):
    # Python wrapper for gimp_gimprc_query()
  </code></synopsis>
  <p>Queries the gimprc file parser for information on a specified token.</p>  <p>This procedure is used to locate additional information contained in
the gimprc file considered extraneous to the operation of GIMP.
Plug-ins that need configuration information can expect it will be
stored in the user gimprc file and can use this procedure to
retrieve it. This query procedure will return the value associated
with the specified token. This corresponds _only_ to entries with
the format: (&amp;lt;token&amp;gt; &amp;lt;value&amp;gt;). The value must be a
string. Entries not corresponding to this format will cause warnings
to be issued on gimprc parsing and will not be queryable.</p>

<terms>
<item>
<title><code>token</code></title>
  <p>The token to query for.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
