# layout_cell_is_bottom

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

```c
static int layout_cell_is_bottom(struct window *w, struct layout_cell *lc)
```

## Parameters

- `w` (`struct window *`)
- `lc` (`struct layout_cell *`)

## Called by

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

## 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.flags`](/en/tmux/latest/reference/c-struct-layout_cell-flags/) (attribute)
- [`layout_cell`](/en/tmux/latest/reference/c-struct-layout_cell/) (struct)
- [`LAYOUT_CELL_FLOATING`](/en/tmux/latest/reference/c-define-tmux-h-layout_cell_floating/) (constant)
- [`window.layout_root`](/en/tmux/latest/reference/c-struct-window-layout_root/) (attribute)
- [`LAYOUT_TOPBOTTOM`](/en/tmux/latest/reference/c-enum-layout_type-layout_topbottom/) (constant)
- [`layout_cell.parent`](/en/tmux/latest/reference/c-struct-layout_cell-parent/) (attribute)
- [`layout_cell.type`](/en/tmux/latest/reference/c-struct-layout_cell-type/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
