# format_cb_last_window_index

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2724
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-format-c-format_cb_last_window_index/

```c
static void * format_cb_last_window_index(struct format_tree *ft)
```

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`format_printf`](/en/tmux/latest/reference/c-function-format-c-format_printf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L2730)

## Referenced declarations

- [`format_tree`](/en/tmux/latest/reference/c-struct-format_tree/) (struct)
- [`winlink.idx`](/en/tmux/latest/reference/c-struct-winlink-idx/) (attribute)
- [`format_tree.s`](/en/tmux/latest/reference/c-struct-format_tree-s/) (attribute)
- [`session.windows`](/en/tmux/latest/reference/c-struct-session-windows/) (attribute)
