<?xml version="1.0"?>
<page id="GimpUi.Dialog.set_alternative_button_order_from_array"
      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.Dialog" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>gimp_dialog_set_alternative_button_order_from_array</api:name>
      <api:arg>
        <api:type>Array(Number(gint))</api:type>
        <api:name>order</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>GimpUi.Dialog.prototype.set_alternative_button_order_from_array</title>
  <synopsis><code mime="text/x-gjs">
function set_alternative_button_order_from_array(order: Array(Number(gint))): void {
    // Gjs wrapper for gimp_dialog_set_alternative_button_order_from_array()
}
  </code></synopsis>
  <p>Reorder <code>dialog</code>'s buttons if [property@Gtk.Settings:gtk-alternative-button-order]
is set to TRUE. This is mostly a wrapper around the GTK function
[method@Gtk.Dialog.set_alternative_button_order], except it won't
output a deprecation warning.</p>
  <p>Since 3.0</p>
<terms>
<item>
<title><code>order</code></title>
  <p>array of buttons' response ids.</p>
</item>
</terms>

</page>
