set Preferences Handler
Pass this method a function which displays and edits application options. It will be invoked when the Preferences menu item is selected from the application menu.
Parameters
preferences
Pass this method a function which displays and edits application options. It will be invoked when the Preferences menu item is selected from the application menu.