# format_draw_put_list

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

```c
static void format_draw_put_list(struct screen_write_ctx *octx, u_int ocx, u_int ocy, u_int offset, u_int width, struct screen *list, struct screen *list_left, struct screen *list_right, int focus_start, int focus_end, struct format_ranges *frs)
```

## Parameters

- `octx` (`struct screen_write_ctx *`)
- `ocx` (`u_int`)
- `ocy` (`u_int`)
- `offset` (`u_int`)
- `width` (`u_int`)
- `list` (`struct screen *`)
- `list_left` (`struct screen *`)
- `list_right` (`struct screen *`)
- `focus_start` (`int`)
- `focus_end` (`int`)
- `frs` (`struct format_ranges *`)

## Called by

- [`format_draw_absolute_centre`](/en/tmux/latest/reference/c-function-format-draw-c-format_draw_absolute_centre/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L635)
- [`format_draw_centre`](/en/tmux/latest/reference/c-function-format-draw-c-format_draw_centre/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L422)
- [`format_draw_left`](/en/tmux/latest/reference/c-function-format-draw-c-format_draw_left/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L315)
- [`format_draw_right`](/en/tmux/latest/reference/c-function-format-draw-c-format_draw_right/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L529)

## Calls

- [`format_draw_put`](/en/tmux/latest/reference/c-function-format-draw-c-format_draw_put/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L134)
- [`screen_write_cursormove`](/en/tmux/latest/reference/c-function-screen_write_cursormove/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L149)
- [`screen_write_fast_copy`](/en/tmux/latest/reference/c-function-screen_write_fast_copy/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format-draw.c#L150)

## Referenced declarations

- [`screen.cx`](/en/tmux/latest/reference/c-struct-screen-cx/) (attribute)
- [`format_ranges`](/en/tmux/latest/reference/c-struct-format_ranges/) (struct)
- [`screen`](/en/tmux/latest/reference/c-struct-screen/) (struct)
- [`screen_write_ctx`](/en/tmux/latest/reference/c-struct-screen_write_ctx/) (struct)
- [`format_range.start`](/en/tmux/latest/reference/c-struct-format_range-start/) (attribute)
