<?xml version="1.0"?>
<page id="Gimp.palettes_popup"
      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>bool</api:type>
      </api:returns>
      <api:name>gimp_palettes_popup</api:name>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>palette_callback</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>popup_title</api:name>
      </api:arg>
      <api:arg>
        <api:type>unicode</api:type>
        <api:name>initial_palette_name</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.palettes_popup</title>
  <synopsis><code mime="text/x-python">
@accepts(unicode, unicode, unicode)
@returns(bool)
def palettes_popup(palette_callback, popup_title, initial_palette_name):
    # Python wrapper for gimp_palettes_popup()
  </code></synopsis>
  <p>Invokes the Gimp palette selection dialog.</p>  <p>Opens a dialog letting a user choose a palette.</p>

<terms>
<item>
<title><code>palette_callback</code></title>
  <p>The callback PDB proc to call when user chooses a palette.</p>
</item>
<item>
<title><code>popup_title</code></title>
  <p>Title of the palette selection dialog.</p>
</item>
<item>
<title><code>initial_palette_name</code></title>
  <p>The name of the palette to set as the initial choice.</p>
</item>
<item>
<title><code>Returns</code></title>
{formatter.format(node, node.retval.doc)}
</item>
</terms>

</page>
