# window_customize_set_note_callback

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

```c
static int window_customize_set_note_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/latest/reference/c-function-mode_tree_build/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1248)
- [`mode_tree_draw`](/en/tmux/latest/reference/c-function-mode_tree_draw/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1249)
- [`xstrdup`](/en/tmux/latest/reference/c-function-xstrdup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/window-customize.c#L1246)

## Other function references

- [`window_customize_get_key`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_get_key/) (function)

## Referenced by

- [`window_customize_set_key`](/en/tmux/latest/reference/c-function-window-customize-c-window_customize_set_key/) (function)

## Referenced declarations

- [`__unused`](/en/tmux/latest/reference/c-define-compat-h-__unused/) (constant)
- [`client`](/en/tmux/latest/reference/c-struct-client/) (struct)
- [`window_customize_itemdata.data`](/en/tmux/latest/reference/c-struct-window_customize_itemdata-data/) (attribute)
- [`window_customize_modedata.data`](/en/tmux/latest/reference/c-struct-window_customize_modedata-data/) (attribute)
- [`window_customize_modedata.dead`](/en/tmux/latest/reference/c-struct-window_customize_modedata-dead/) (attribute)
- [`window_pane.flags`](/en/tmux/latest/reference/c-struct-window_pane-flags/) (attribute)
- [`key_binding.note`](/en/tmux/latest/reference/c-struct-key_binding-note/) (attribute)
- [`PANE_REDRAW`](/en/tmux/latest/reference/c-define-tmux-h-pane_redraw/) (constant)
- [`window_customize_modedata.wp`](/en/tmux/latest/reference/c-struct-window_customize_modedata-wp/) (attribute)
