# grid_extended_cell

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L112
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-grid-c-grid_extended_cell/

```c
static struct grid_extd_entry * grid_extended_cell(struct grid_line *gl, struct grid_cell_entry *gce, const struct grid_cell *gc)
```

## Parameters

- `gl` (`struct grid_line *`)
- `gce` (`struct grid_cell_entry *`)
- `gc` (`const struct grid_cell *`)

## Called by

- [`grid_clear_cell`](/en/tmux/3.2a/reference/c-function-grid-c-grid_clear_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L205)
- [`grid_set_cell`](/en/tmux/3.2a/reference/c-function-grid_set_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L556)
- [`grid_set_cells`](/en/tmux/3.2a/reference/c-function-grid_set_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L590)

## Calls

- [`fatalx`](/en/tmux/3.2a/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L122)
- [`grid_get_extended_cell`](/en/tmux/3.2a/reference/c-function-grid-c-grid_get_extended_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L120)
- [`utf8_from_data`](/en/tmux/3.2a/reference/c-function-utf8_from_data/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/grid.c#L125)

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/3.2a/reference/c-struct-grid_cell-attr/) (attribute)
- [`grid_extd_entry.attr`](/en/tmux/3.2a/reference/c-struct-grid_extd_entry-attr/) (attribute)
- [`grid_cell.bg`](/en/tmux/3.2a/reference/c-struct-grid_cell-bg/) (attribute)
- [`grid_extd_entry.bg`](/en/tmux/3.2a/reference/c-struct-grid_extd_entry-bg/) (attribute)
- [`grid_cell.data`](/en/tmux/3.2a/reference/c-struct-grid_cell-data/) (attribute)
- [`grid_extd_entry.data`](/en/tmux/3.2a/reference/c-struct-grid_extd_entry-data/) (attribute)
- [`grid_line.extddata`](/en/tmux/3.2a/reference/c-struct-grid_line-extddata/) (attribute)
- [`grid_line.extdsize`](/en/tmux/3.2a/reference/c-struct-grid_line-extdsize/) (attribute)
- [`grid_cell.fg`](/en/tmux/3.2a/reference/c-struct-grid_cell-fg/) (attribute)
- [`grid_extd_entry.fg`](/en/tmux/3.2a/reference/c-struct-grid_extd_entry-fg/) (attribute)
- [`grid_cell_entry.flags`](/en/tmux/3.2a/reference/c-struct-grid_cell_entry-flags/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.2a/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_extd_entry.flags`](/en/tmux/3.2a/reference/c-struct-grid_extd_entry-flags/) (attribute)
- [`grid_line.flags`](/en/tmux/3.2a/reference/c-struct-grid_line-flags/) (attribute)
- [`grid_cell`](/en/tmux/3.2a/reference/c-struct-grid_cell/) (struct)
- [`grid_cell_entry`](/en/tmux/3.2a/reference/c-struct-grid_cell_entry/) (struct)
- [`grid_extd_entry`](/en/tmux/3.2a/reference/c-struct-grid_extd_entry/) (struct)
- [`GRID_FLAG_CLEARED`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_flag_cleared/) (constant)
- [`GRID_FLAG_EXTENDED`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_flag_extended/) (constant)
- [`grid_line`](/en/tmux/3.2a/reference/c-struct-grid_line/) (struct)
- [`GRID_LINE_EXTENDED`](/en/tmux/3.2a/reference/c-define-tmux-h-grid_line_extended/) (constant)
- [`grid_cell.us`](/en/tmux/3.2a/reference/c-struct-grid_cell-us/) (attribute)
- [`grid_extd_entry.us`](/en/tmux/3.2a/reference/c-struct-grid_extd_entry-us/) (attribute)
