<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTextView/usesFontPanel",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTextView(py)usesFontPanel"
  },
  "title" : "usesFontPanel"
}
-->

# usesFontPanel

A Boolean value that controls whether the text views sharing the receiver’s layout manager use the Font panel and Font menu.

```
var usesFontPanel: Bool { get set }
```

## Discussion

<doc://com.apple.documentation/documentation/Swift/true> to make the text views sharing the receiver’s layout manager respond to messages from the Font panel and from the Font menu, and update the Font panel with the selection font whenever it changes, <doc://com.apple.documentation/documentation/Swift/false> to disallow character attribute changes.

## See Also

[`rangeForUserCharacterAttributeChange`](/documentation/AppKit/NSTextView/rangeForUserCharacterAttributeChange)

The range of characters affected by an action method that changes character (not paragraph) attributes.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)