# layout_construct_cell

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

```c
static struct layout_cell * layout_construct_cell(struct layout_cell *lcparent, const char **layout)
```

## Parameters

- `lcparent` (`struct layout_cell *`)
- `layout` (`const char **`)

## Called by

- [`layout_construct`](/en/tmux/latest/reference/c-function-layout-custom-c-layout_construct/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-custom.c#L381)

## Calls

- [`layout_create_cell`](/en/tmux/latest/reference/c-function-layout_create_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-custom.c#L360)

## Referenced declarations

- [`layout_cell`](/en/tmux/latest/reference/c-struct-layout_cell/) (struct)
- [`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.xoff`](/en/tmux/latest/reference/c-struct-layout_cell-xoff/) (attribute)
- [`layout_cell.yoff`](/en/tmux/latest/reference/c-struct-layout_cell-yoff/) (attribute)
