Sets the title of the Print panel’s default button.
SDK
- macOS 10.5+
Framework
- App
Kit
Declaration
func setDefaultButtonTitle(_ defaultButtonTitle: String?)
Parameters
defaultButtonTitle
The string to use for the button title.
Discussion
You can use this method to change the default button title from "Print” to something more appropriate for your usage of the panel. For example, if you are using the Print panel to save a representation of the document to a file, you might change the title to “Save”.