application-preferences-handler in System Menus

When the current eventspace is the initial eventspace, this procedure retrieves or installs a thunk that is called when the user selects the application Preferences menu item in Mac OS X. The thunk is always called in the initial eventspace's handler thread (as a callback). If the handler is set to #f, the Preferences item is disabled.

The default handler is #f.