Gtk.Dialog.prototype.set_alternative_button_order_from_array
function set_alternative_button_order_from_array(new_order:[Number]):void { // Gjs wrapper for gtk_dialog_set_alternative_button_order_from_array() }
Sets an alternative button order. If the Gtk.gtk-alternative-button-order setting is set to true, the dialog buttons are reordered according to the order of the response ids in new_order.
See Gtk.set_alternative_button_order for more information.
This function is for use by language bindings.
Since 2.6
- new_order
an array of response ids of dialog's buttons