---
title: defaultButtonTitle()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsprintpanel/defaultbuttontitle()
---

# defaultButtonTitle()

Returns the title of the Print panel’s default button.

## Declaration

```swift
func defaultButtonTitle() -> String?
```

## Return Value

Return Value The title of the default button.

## See Also

### Customizing the Panel

- [jobStyleHint](appkit/nsprintpanel/jobstylehint-swift.property.md)
- [NSPrintPanel.JobStyleHint](appkit/nsprintpanel/jobstylehint-swift.struct.md)
- [options](appkit/nsprintpanel/options-swift.property.md)
- [NSPrintPanel.Options](appkit/nsprintpanel/options-swift.struct.md)
- [setDefaultButtonTitle(_:)](appkit/nsprintpanel/setdefaultbuttontitle(_:).md)
- [helpAnchor](appkit/nsprintpanel/helpanchor.md)
