GimpUi.Dialog.prototype.set_alternative_button_order_from_array

function set_alternative_button_order_from_array(order: Array(Number(gint))): void {
    // Gjs wrapper for gimp_dialog_set_alternative_button_order_from_array()
}
  

Reorder dialog'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.

Since 3.0

order

array of buttons' response ids.