# LibTmux.set_zoom

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-julia/blob/1a68a11f071686736937d027b190b43cf946c385/src/topology.jl#L412
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-set_zoom/

```
set_zoom(
    transport,
    pane::LibTmux.PaneRef,
    zoomed::Bool;
    kwargs...,
)
```

## Methods

Request a zoomed pane or an unzoomed window. An already satisfied state returns `nothing`. Switching between zoomed panes unzooms then zooms the requested pane; these observations and commands are best effort against concurrent changes. Return the last command result when changed; never retry uncertain effects.

```julia
set_zoom(transport, pane::PaneRef, zoomed::Bool; kwargs...)
```

## Parameters

- `transport` (`Any`)
- `pane` (`LibTmux.PaneRef`)
- `zoomed` (`Bool`)
- `kwargs`

## Guides

Pages that discuss `set_zoom`.

- [Ownership and I/O](/en/julia/latest/topics/ownership/)
