# layout_print_cell

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

```c
void layout_print_cell(struct layout_cell *lc, const char *hdr, u_int n)
```

## Parameters

- `lc` (`struct layout_cell *`)
- `hdr` (`const char *`)
- `n` (`u_int`)

## Called by

- [`layout_parse`](/en/tmux/latest/reference/c-function-layout_parse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-custom.c#L253)
- [`layout_print_cell`](/en/tmux/latest/reference/c-function-layout_print_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L134)
- [`layout_set_even`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_even/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L145)
- [`layout_set_main_h`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_h/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L215)
- [`layout_set_main_h_mirrored`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_h_mirrored/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L317)
- [`layout_set_main_v`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_v/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L419)
- [`layout_set_main_v_mirrored`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_v_mirrored/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L521)
- [`layout_set_tiled`](/en/tmux/latest/reference/c-function-layout-set-c-layout_set_tiled/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L623)

## Calls

- [`layout_print_cell`](/en/tmux/latest/reference/c-function-layout_print_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L134)
- [`log_debug`](/en/tmux/latest/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L127)

## Referenced declarations

- [`layout_cell.cells`](/en/tmux/latest/reference/c-struct-layout_cell-cells/) (attribute)
- [`layout_cell.entry`](/en/tmux/latest/reference/c-struct-layout_cell-entry/) (attribute)
- [`layout_cell`](/en/tmux/latest/reference/c-struct-layout_cell/) (struct)
- [`LAYOUT_LEFTRIGHT`](/en/tmux/latest/reference/c-enum-layout_type-layout_leftright/) (constant)
- [`LAYOUT_TOPBOTTOM`](/en/tmux/latest/reference/c-enum-layout_type-layout_topbottom/) (constant)
- [`LAYOUT_WINDOWPANE`](/en/tmux/latest/reference/c-enum-layout_type-layout_windowpane/) (constant)
- [`layout_cell.parent`](/en/tmux/latest/reference/c-struct-layout_cell-parent/) (attribute)
- [`layout_cell.sx`](/en/tmux/latest/reference/c-struct-layout_cell-sx/) (attribute)
- [`layout_cell.sy`](/en/tmux/latest/reference/c-struct-layout_cell-sy/) (attribute)
- [`layout_cell.type`](/en/tmux/latest/reference/c-struct-layout_cell-type/) (attribute)
- [`layout_cell.wp`](/en/tmux/latest/reference/c-struct-layout_cell-wp/) (attribute)
- [`layout_cell.xoff`](/en/tmux/latest/reference/c-struct-layout_cell-xoff/) (attribute)
- [`layout_cell.yoff`](/en/tmux/latest/reference/c-struct-layout_cell-yoff/) (attribute)
