Due to a ransomware attack, the wiki was reverted to a July 2022 version. . We apologize for the lack of a more recent valid backup.
...
Notice how buttons added to the dialog are added appear right to left.
Also note, since addButton()
takes just a function reference as its second argument, any data required for the function should be defined in the closure.
...