# window_customize_set_option_callback

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

```c
static int window_customize_set_option_callback(struct client *c, void *itemdata, const char *s, int done)
```

## Parameters

- `c` (`struct client *`)
- `itemdata` (`void *`)
- `s` (`const char *`)
- `done` (`int`)

## Calls

- [`mode_tree_build`](/en/tmux/3.7c/reference/c-function-mode_tree_build/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1016)
- [`mode_tree_draw`](/en/tmux/3.7c/reference/c-function-mode_tree_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1017)
- [`options_array_get`](/en/tmux/3.7c/reference/c-function-options_array_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1004)
- [`options_array_set`](/en/tmux/3.7c/reference/c-function-options_array_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1008)
- [`options_from_string`](/en/tmux/3.7c/reference/c-function-options_from_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1011)
- [`options_get`](/en/tmux/3.7c/reference/c-function-options_get/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L996)
- [`options_push_changes`](/en/tmux/3.7c/reference/c-function-options_push_changes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1015)
- [`status_message_set`](/en/tmux/3.7c/reference/c-function-status_message_set/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1024)

## Other function references

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

## Referenced by

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

## Referenced declarations

- [`__unused`](/en/tmux/3.7c/reference/c-define-compat-h-__unused/) (constant)
- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`window_customize_itemdata.data`](/en/tmux/3.7c/reference/c-struct-window_customize_itemdata-data/) (attribute)
- [`window_customize_modedata.data`](/en/tmux/3.7c/reference/c-struct-window_customize_modedata-data/) (attribute)
- [`window_customize_modedata.dead`](/en/tmux/3.7c/reference/c-struct-window_customize_modedata-dead/) (attribute)
- [`options_table_entry.flags`](/en/tmux/3.7c/reference/c-struct-options_table_entry-flags/) (attribute)
- [`window_pane.flags`](/en/tmux/3.7c/reference/c-struct-window_pane-flags/) (attribute)
- [`window_customize_itemdata.idx`](/en/tmux/3.7c/reference/c-struct-window_customize_itemdata-idx/) (attribute)
- [`window_customize_itemdata.name`](/en/tmux/3.7c/reference/c-struct-window_customize_itemdata-name/) (attribute)
- [`window_customize_itemdata.oo`](/en/tmux/3.7c/reference/c-struct-window_customize_itemdata-oo/) (attribute)
- [`OPTIONS_TABLE_IS_ARRAY`](/en/tmux/3.7c/reference/c-define-tmux-h-options_table_is_array/) (constant)
- [`PANE_REDRAW`](/en/tmux/3.7c/reference/c-define-tmux-h-pane_redraw/) (constant)
- [`window_customize_modedata.wp`](/en/tmux/3.7c/reference/c-struct-window_customize_modedata-wp/) (attribute)
