# tmux.GlobalWindowScope.SetPaneScrollbars

- **Module:** tmux.GlobalWindowScope
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/option_generated.go#L5916
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-globalwindowscope-setpanescrollbars/

```
tmux.GlobalWindowScope.SetPaneScrollbars(ctx: context.Context, value: PaneScrollbars) -> error
```

SetPaneScrollbars stores the "pane-scrollbars" window option as PaneScrollbars (tmux 3.6 or later). Read it with [WindowOptionValues.PaneScrollbars] from [GlobalWindowScope.Options]; [GlobalWindowScope.UnsetOption] restores inheritance or the global default.
