# window_customize_build_options

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

```c
static void window_customize_build_options(struct window_customize_modedata *data, const char *title, uint64_t tag, enum window_customize_scope scope0, struct options *oo0, enum window_customize_scope scope1, struct options *oo1, enum window_customize_scope scope2, struct options *oo2, struct format_tree *ft, const char *filter, struct cmd_find_state *fs)
```

## Parameters

- `data` (`struct window_customize_modedata *`)
- `title` (`const char *`)
- `tag` (`uint64_t`)
- `scope0` (`enum window_customize_scope`)
- `oo0` (`struct options *`)
- `scope1` (`enum window_customize_scope`)
- `oo1` (`struct options *`)
- `scope2` (`enum window_customize_scope`)
- `oo2` (`struct options *`)
- `ft` (`struct format_tree *`)
- `filter` (`const char *`)
- `fs` (`struct cmd_find_state *`)

## Called by

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

## Calls

- [`mode_tree_add`](/en/tmux/3.2a/reference/c-function-mode_tree_add/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L384)
- [`mode_tree_no_tag`](/en/tmux/3.2a/reference/c-function-mode_tree_no_tag/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L385)
- [`options_first`](/en/tmux/3.2a/reference/c-function-options_first/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L417)
- [`options_get`](/en/tmux/3.2a/reference/c-function-options_get/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L401)
- [`options_name`](/en/tmux/3.2a/reference/c-function-options_name/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L419)
- [`options_next`](/en/tmux/3.2a/reference/c-function-options_next/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L421)
- [`options_owner`](/en/tmux/3.2a/reference/c-function-options_owner/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L406)
- [`window_customize_build_option`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_build_option/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L412)
- [`window_customize_find_user_options`](/en/tmux/3.2a/reference/c-function-window-customize-c-window_customize_find_user_options/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/window-customize.c#L393)

## Referenced declarations

- [`cmd_find_state`](/en/tmux/3.2a/reference/c-struct-cmd_find_state/) (struct)
- [`window_customize_modedata.data`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata-data/) (attribute)
- [`format_tree`](/en/tmux/3.2a/reference/c-struct-format_tree/) (struct)
- [`options_entry.name`](/en/tmux/3.2a/reference/c-struct-options_entry-name/) (attribute)
- [`options`](/en/tmux/3.2a/reference/c-struct-options/) (struct)
- [`window_customize_modedata`](/en/tmux/3.2a/reference/c-struct-window_customize_modedata/) (struct)
- [`window_customize_scope`](/en/tmux/3.2a/reference/c-enum-window_customize_scope/) (enum)
