# format_cb_pane_pb_state

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

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

## Parameters

- `ft` (`struct format_tree *`)

## Calls

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

## Referenced declarations

- [`window_pane.base`](/en/tmux/latest/reference/c-struct-window_pane-base/) (attribute)
- [`format_tree`](/en/tmux/latest/reference/c-struct-format_tree/) (struct)
- [`screen.progress_bar`](/en/tmux/latest/reference/c-struct-screen-progress_bar/) (attribute)
- [`PROGRESS_BAR_ERROR`](/en/tmux/latest/reference/c-enum-progress_bar_state-progress_bar_error/) (constant)
- [`PROGRESS_BAR_HIDDEN`](/en/tmux/latest/reference/c-enum-progress_bar_state-progress_bar_hidden/) (constant)
- [`PROGRESS_BAR_INDETERMINATE`](/en/tmux/latest/reference/c-enum-progress_bar_state-progress_bar_indeterminate/) (constant)
- [`PROGRESS_BAR_NORMAL`](/en/tmux/latest/reference/c-enum-progress_bar_state-progress_bar_normal/) (constant)
- [`PROGRESS_BAR_PAUSED`](/en/tmux/latest/reference/c-enum-progress_bar_state-progress_bar_paused/) (constant)
- [`progress_bar.state`](/en/tmux/latest/reference/c-struct-progress_bar-state/) (attribute)
- [`format_tree.wp`](/en/tmux/latest/reference/c-struct-format_tree-wp/) (attribute)
