# window_customize_draw

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L838
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_draw/

```c
static void window_customize_draw(void *modedata, void *itemdata, struct screen_write_ctx *ctx, u_int sx, u_int sy)
```

## Parameters

- `modedata` (`void *`)
- `itemdata` (`void *`)
- `ctx` (`struct screen_write_ctx *`)
- `sx` (`u_int`)
- `sy` (`u_int`)

## Calls

- [`window_customize_draw_key`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_draw_key/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L848)
- [`window_customize_draw_option`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_draw_option/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L850)

## Referenced by

- [`window_customize_init`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_init/) (function)

## Referenced declarations

- [`window_customize_itemdata.data`](/en/tmux/3.2a/reference/c-struct-window_customize_itemdata-data/) (attribute)
- [`window_customize_modedata.data`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-data/) (attribute)
- [`window_customize_itemdata.scope`](/en/tmux/3.2a/reference/c-struct-window_customize_itemdata-scope/) (attribute)
- [`screen_write_ctx`](/en/tmux/3.2a/reference/c-struct-screen_write_ctx/) (struct)
- [`WINDOW_CUSTOMIZE_KEY`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_key/) (constant)
