Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

...