# LibTmux.WindowLinkRef

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/topology.jl#L15
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-windowlinkref/

```
LibTmux.WindowLinkRef(
    session::LibTmux.SessionRef,
    window::LibTmux.WindowRef,
    index::Integer
)

LibTmux.WindowLinkRef(link::LibTmux.WindowLink)
```

Identify one session/index link and its expected physical window. Operations verify that the slot still contains this window before acting. Generation and link checks are best effort; subprocess commands cannot reserve the link.

```julia
WindowLinkRef(session::SessionRef, window::WindowRef, index::Integer)
WindowLinkRef(link::WindowLink)
```

## Methods

### `WindowLinkRef` (overload 1)

```julia
LibTmux.WindowLinkRef(
    session::LibTmux.SessionRef,
    window::LibTmux.WindowRef,
    index::Integer
)
```

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/topology.jl#L28).

### `LibTmux.WindowLinkRef(link::LibTmux.WindowLink)`

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/topology.jl#L34).

## Parameters

- `session` (`LibTmux.SessionRef`) (for `WindowLinkRef(session, window, index)`)
- `window` (`LibTmux.WindowRef`) (for `WindowLinkRef(session, window, index)`)
- `index` (`Integer`) (for `WindowLinkRef(session, window, index)`)
- `link` (`LibTmux.WindowLink`) (for `WindowLinkRef(link)`)

## Members

### Other members

- `index` (property)
- `session` (property)
- `window` (property)
