# window.last_panes

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tmux.h#L1369
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-struct-window-last_panes/

```c
struct window_panes last_panes;
```

## Referenced by

- [`cmd_find_get_pane_with_window`](/en/tmux/3.7c/reference/c-function-cmd-find-c-cmd_find_get_pane_with_window/) (function)
- [`cmd_select_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-select-pane-c-cmd_select_pane_exec/) (function)
- [`cmd_swap_pane_exec`](/en/tmux/3.7c/reference/c-function-cmd-swap-pane-c-cmd_swap_pane_exec/) (function)
- [`format_cb_pane_last`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_pane_last/) (function)
- [`window_create`](/en/tmux/3.7c/reference/c-function-window_create/) (function)
- [`window_destroy_panes`](/en/tmux/3.7c/reference/c-function-window_destroy_panes/) (function)
- [`window_lost_pane`](/en/tmux/3.7c/reference/c-function-window_lost_pane/) (function)
- [`window_pane_printable_flags`](/en/tmux/3.7c/reference/c-function-window_pane_printable_flags/) (function)
- [`window_set_active_pane`](/en/tmux/3.7c/reference/c-function-window_set_active_pane/) (function)

## Referenced declarations

- [`window_panes`](/en/tmux/3.7c/reference/c-struct-window_panes/) (struct)
