# layout_make_node

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

```c
void layout_make_node(struct layout_cell *lc, enum layout_type type)
```

## Parameters

- `lc` (`struct layout_cell *`)
- `type` (`enum layout_type`)

## Called by

- [`layout_floating_pane`](/en/tmux/latest/reference/c-function-layout_floating_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1182)
- [`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#L167)
- [`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#L262)
- [`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#L364)
- [`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#L466)
- [`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#L568)
- [`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#L660)
- [`layout_split_pane`](/en/tmux/latest/reference/c-function-layout_split_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1120)

## Calls

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

## Referenced declarations

- [`layout_cell.cells`](/en/tmux/latest/reference/c-struct-layout_cell-cells/) (attribute)
- [`layout_cell`](/en/tmux/latest/reference/c-struct-layout_cell/) (struct)
- [`window_pane.layout_cell`](/en/tmux/latest/reference/c-struct-window_pane-layout_cell/) (attribute)
- [`layout_type`](/en/tmux/latest/reference/c-enum-layout_type/) (enum)
- [`LAYOUT_WINDOWPANE`](/en/tmux/latest/reference/c-enum-layout_type-layout_windowpane/) (constant)
- [`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)
