# grid_extended_cell

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L116
- **Page:** https://libtmux.org/en/tmux/3.7c/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.7c/reference/c-function-grid-c-grid_clear_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L217)
- [`grid_set_cell`](/en/tmux/3.7c/reference/c-function-grid_set_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L610)
- [`grid_set_cells`](/en/tmux/3.7c/reference/c-function-grid_set_cells/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L644)

## Calls

- [`fatalx`](/en/tmux/3.7c/reference/c-function-fatalx/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L126)
- [`grid_get_extended_cell`](/en/tmux/3.7c/reference/c-function-grid-c-grid_get_extended_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L124)
- [`utf8_from_data`](/en/tmux/3.7c/reference/c-function-utf8_from_data/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/grid.c#L134)

## Referenced declarations

- [`grid_cell.attr`](/en/tmux/3.7c/reference/c-struct-grid_cell-attr/) (attribute)
- [`grid_extd_entry.attr`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry-attr/) (attribute)
- [`grid_cell.bg`](/en/tmux/3.7c/reference/c-struct-grid_cell-bg/) (attribute)
- [`grid_extd_entry.bg`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry-bg/) (attribute)
- [`grid_cell.data`](/en/tmux/3.7c/reference/c-struct-grid_cell-data/) (attribute)
- [`grid_extd_entry.data`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry-data/) (attribute)
- [`grid_line.extddata`](/en/tmux/3.7c/reference/c-struct-grid_line-extddata/) (attribute)
- [`grid_line.extdsize`](/en/tmux/3.7c/reference/c-struct-grid_line-extdsize/) (attribute)
- [`grid_cell.fg`](/en/tmux/3.7c/reference/c-struct-grid_cell-fg/) (attribute)
- [`grid_extd_entry.fg`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry-fg/) (attribute)
- [`grid_cell_entry.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell_entry-flags/) (attribute)
- [`grid_cell.flags`](/en/tmux/3.7c/reference/c-struct-grid_cell-flags/) (attribute)
- [`grid_extd_entry.flags`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry-flags/) (attribute)
- [`grid_line.flags`](/en/tmux/3.7c/reference/c-struct-grid_line-flags/) (attribute)
- [`grid_cell`](/en/tmux/3.7c/reference/c-struct-grid_cell/) (struct)
- [`grid_cell_entry`](/en/tmux/3.7c/reference/c-struct-grid_cell_entry/) (struct)
- [`grid_extd_entry`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry/) (struct)
- [`GRID_FLAG_CLEARED`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_cleared/) (constant)
- [`GRID_FLAG_EXTENDED`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_extended/) (constant)
- [`GRID_FLAG_TAB`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_flag_tab/) (constant)
- [`grid_line`](/en/tmux/3.7c/reference/c-struct-grid_line/) (struct)
- [`GRID_LINE_EXTENDED`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_line_extended/) (constant)
- [`GRID_LINE_HYPERLINK`](/en/tmux/3.7c/reference/c-define-tmux-h-grid_line_hyperlink/) (constant)
- [`grid_cell.link`](/en/tmux/3.7c/reference/c-struct-grid_cell-link/) (attribute)
- [`grid_extd_entry.link`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry-link/) (attribute)
- [`grid_cell.us`](/en/tmux/3.7c/reference/c-struct-grid_cell-us/) (attribute)
- [`grid_extd_entry.us`](/en/tmux/3.7c/reference/c-struct-grid_extd_entry-us/) (attribute)
- [`utf8_data.width`](/en/tmux/3.7c/reference/c-struct-utf8_data-width/) (attribute)
