# format_cb_tree_mode_format

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

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

## Parameters

- `ft` (`struct format_tree *`)

## Calls

- [`xstrdup`](/en/tmux/3.7c/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L3139)

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`window_mode.default_format`](/en/tmux/3.7c/reference/c-struct-window_mode-default_format/) (attribute)
- [`format_tree`](/en/tmux/3.7c/reference/c-struct-format_tree/) (struct)
- [`window_tree_mode`](/en/tmux/3.7c/reference/c-variable-window_tree_mode/) (attribute)
