# Server.setTitle(_:of:)

- **Module:** Server
- **Package:** libtmux-swift
- **Language:** Swift
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-swift/blob/f02a4668570e1cc5198c941413750e021f42c214/Sources/LibTmux/Navigation.swift#L202
- **Page:** https://libtmux.org/reference/swift/server-settitle(_-of-)/

```
Server.setTitle(_:of:)(title: String, of: Pane) -> ()
```

Sets a pane's title. The title is only shown when tmux is configured to display it, but it is always readable through a format.

## Raises

- `TmuxError`
