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

# windowTitlebarLayoutDirection

The direction the window’s title bar lays text out, either left to right or right to left.

```
var windowTitlebarLayoutDirection: NSUserInterfaceLayoutDirection { get }
```

## Discussion

The layout direction of the window title bar includes the standard window buttons (close, minimize, maximize) and the title for the window. In general, this returns [`NSUserInterfaceLayoutDirection.rightToLeft`](/documentation/AppKit/NSUserInterfaceLayoutDirection/rightToLeft) if the primary system language is right to left. The layout direction may be right to left even in applications that don’t have a right to left language localization. Refer to this value if the application uses [`titlebarAppearsTransparent`](/documentation/AppKit/NSWindow/titlebarAppearsTransparent) and places controls under the title bar.

---

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)