<?xml version="1.0"?>
<page id="Gimp.Palette.set_entry_name"
      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.Palette" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>Boolean</api:type>
      </api:returns>
      <api:name>gimp_palette_set_entry_name</api:name>
      <api:arg>
        <api:type>Number(gint)</api:type>
        <api:name>entry_num</api:name>
      </api:arg>
      <api:arg>
        <api:type>String</api:type>
        <api:name>entry_name</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.Palette.prototype.set_entry_name</title>
  <synopsis><code mime="text/x-gjs">
function set_entry_name(entry_num: Number(gint), entry_name: String): Boolean {
    // Gjs wrapper for gimp_palette_set_entry_name()
}
  </code></synopsis>
  <p>Sets the name of an entry in the palette.</p>  <p>Sets the name of the entry at the zero-based index into the palette.
Returns an error if the index is out or range. Returns an error if
the palette is not editable.</p>
  <p>Since 2.2</p>
<terms>
<item>
<title><code>entry_num</code></title>
  <p>The entry to get.</p>
</item>
<item>
<title><code>entry_name</code></title>
  <p>The new name.</p>
</item>
<item>
<title><code>Returns</code></title>
  <p>TRUE on success.</p>
</item>
</terms>

</page>
