# server.Server.set_global_window_option

- **Module:** server.Server
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/server/settings.rs#L426
- **Page:** https://libtmux.org/en/rs/latest/reference/server-server-set_global_window_option/

```
server.Server.set_global_window_option(self, name: &str, value: impl Into<OsString>) -> Result<(), Error>
```

Set one global window option to text, unchecked.

[`Self::set_typed_global_window_option`] checks the value first.

# Errors

Returns an error when tmux rejects the name or value.
