# window_customize_check_item

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L150
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_check_item/

```c
static int window_customize_check_item(struct window_customize_modedata *data, struct window_customize_itemdata *item, struct cmd_find_state *fsp)
```

## Parameters

- `data` (`struct window_customize_modedata *`)
- `item` (`struct window_customize_itemdata *`)
- `fsp` (`struct cmd_find_state *`)

## Called by

- [`window_customize_draw_option`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_draw_option/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L668)

## Calls

- [`cmd_find_copy_state`](/en/tmux/3.7c/reference/c-function-cmd_find_copy_state/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L159)
- [`cmd_find_from_pane`](/en/tmux/3.7c/reference/c-function-cmd_find_from_pane/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L161)
- [`cmd_find_valid_state`](/en/tmux/3.7c/reference/c-function-cmd_find_valid_state/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L158)

## Other function references

- [`window_customize_get_tree`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_get_tree/) (function)

## Referenced by

- [`window_customize_reset_option`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_reset_option/) (function)
- [`window_customize_set_option`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_set_option/) (function)
- [`window_customize_set_option_callback`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_set_option_callback/) (function)
- [`window_customize_unset_option`](/en/tmux/3.7c/reference/c-function-window-customize-c-window_customize_unset_option/) (function)

## Referenced declarations

- [`cmd_find_state`](/en/tmux/3.7c/reference/c-struct-cmd_find_state/) (struct)
- [`window_customize_modedata.fs`](/en/tmux/3.7c/reference/c-struct-window_customize_modedata-fs/) (attribute)
- [`window_customize_itemdata.oo`](/en/tmux/3.7c/reference/c-struct-window_customize_itemdata-oo/) (attribute)
- [`window_customize_itemdata.scope`](/en/tmux/3.7c/reference/c-struct-window_customize_itemdata-scope/) (attribute)
- [`window_customize_itemdata`](/en/tmux/3.7c/reference/c-struct-window_customize_itemdata/) (struct)
- [`window_customize_modedata`](/en/tmux/3.7c/reference/c-struct-window_customize_modedata/) (struct)
- [`window_customize_modedata.wp`](/en/tmux/3.7c/reference/c-struct-window_customize_modedata-wp/) (attribute)
