# layout_get_tiled_cell

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

```c
struct layout_cell * layout_get_tiled_cell(struct cmdq_item *item, struct args *args, struct window *w, struct window_pane *wp, int flags, char **cause)
```

## Parameters

- `item` (`struct cmdq_item *`)
- `args` (`struct args *`)
- `w` (`struct window *`)
- `wp` (`struct window_pane *`)
- `flags` (`int`)
- `cause` (`char **`)

## Called by

- [`cmd_join_pane_exec`](/en/tmux/latest/reference/c-function-cmd-join-pane-c-cmd_join_pane_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-join-pane.c#L94)
- [`cmd_split_window_exec`](/en/tmux/latest/reference/c-function-cmd-split-window-c-cmd_split_window_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-split-window.c#L120)

## Calls

- [`args_has`](/en/tmux/latest/reference/c-function-args_has/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1321)
- [`args_percentage_and_expand`](/en/tmux/latest/reference/c-function-args_percentage_and_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1339)
- [`args_strtonum_and_expand`](/en/tmux/latest/reference/c-function-args_strtonum_and_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1342)
- [`layout_split_pane`](/en/tmux/latest/reference/c-function-layout_split_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1358)
- [`window_pane_is_floating`](/en/tmux/latest/reference/c-function-window_pane_is_floating/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1315)
- [`window_push_zoom`](/en/tmux/latest/reference/c-function-window_push_zoom/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1357)
- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout.c#L1316)

## Referenced declarations

- [`args`](/en/tmux/latest/reference/c-struct-args/) (struct)
- [`cmdq_item`](/en/tmux/latest/reference/c-struct-cmdq_item/) (struct)
- [`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_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)
- [`SPAWN_BEFORE`](/en/tmux/latest/reference/c-define-tmux-h-spawn_before/) (constant)
- [`SPAWN_FULLSIZE`](/en/tmux/latest/reference/c-define-tmux-h-spawn_fullsize/) (constant)
- [`window_pane.sx`](/en/tmux/latest/reference/c-struct-window_pane-sx/) (attribute)
- [`window.sx`](/en/tmux/latest/reference/c-struct-window-sx/) (attribute)
- [`window_pane.sy`](/en/tmux/latest/reference/c-struct-window_pane-sy/) (attribute)
- [`window.sy`](/en/tmux/latest/reference/c-struct-window-sy/) (attribute)
- [`layout_cell.type`](/en/tmux/latest/reference/c-struct-layout_cell-type/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
- [`window_pane.window`](/en/tmux/latest/reference/c-struct-window_pane-window/) (attribute)
- [`window_pane`](/en/tmux/latest/reference/c-struct-window_pane/) (struct)
- [`layout_cell.wp`](/en/tmux/latest/reference/c-struct-layout_cell-wp/) (attribute)
