"gtk-alternative-button-order" setting is set to TRUE,
the dialog buttons are reordered according to the order of the
response ids passed to this function.gtkDialogSetAlternativeButtonOrder(object, ...)object...GtkMessageDialogs do provide an alternative button order,
which is more suitable on some platforms, e.g. Windows.
Use this function after adding all the buttons to your dialog, as the
following example shows:
cancel_button <- dialog$addButton("gtk-cancel", "cancel")
ok_button <- dialog$addButton("gtk-ok", "ok")
ok_button$grabDefault()
help_button <- dialog$addButton("gtk-help", "help")dialog$setAlternativeButtonOrder("ok", "cancel", "help")
Since 2.6