# window_customize_get_tree

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

```c
static struct options * window_customize_get_tree(enum window_customize_scope scope, struct cmd_find_state *fs)
```

## Parameters

- `scope` (`enum window_customize_scope`)
- `fs` (`struct cmd_find_state *`)

## Called by

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

## Referenced by

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

## Referenced declarations

- [`cmd_find_state`](/en/tmux/3.2a/reference/c-struct-cmd_find_state/) (struct)
- [`global_options`](/en/tmux/3.2a/reference/c-variable-global_options/) (attribute)
- [`global_s_options`](/en/tmux/3.2a/reference/c-variable-global_s_options/) (attribute)
- [`global_w_options`](/en/tmux/3.2a/reference/c-variable-global_w_options/) (attribute)
- [`options`](/en/tmux/3.2a/reference/c-struct-options/) (struct)
- [`session.options`](/en/tmux/3.2a/reference/c-struct-session-options/) (attribute)
- [`window_pane.options`](/en/tmux/3.2a/reference/c-struct-window_pane-options/) (attribute)
- [`window.options`](/en/tmux/3.2a/reference/c-struct-window-options/) (attribute)
- [`cmd_find_state.s`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-s/) (attribute)
- [`cmd_find_state.w`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-w/) (attribute)
- [`WINDOW_CUSTOMIZE_GLOBAL_SESSION`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_global_session/) (constant)
- [`WINDOW_CUSTOMIZE_GLOBAL_WINDOW`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_global_window/) (constant)
- [`WINDOW_CUSTOMIZE_KEY`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_key/) (constant)
- [`WINDOW_CUSTOMIZE_NONE`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_none/) (constant)
- [`WINDOW_CUSTOMIZE_PANE`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_pane/) (constant)
- [`window_customize_scope`](/en/tmux/3.2a/reference/c-enum-window_customize_scope/) (enum)
- [`WINDOW_CUSTOMIZE_SERVER`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_server/) (constant)
- [`WINDOW_CUSTOMIZE_SESSION`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_session/) (constant)
- [`WINDOW_CUSTOMIZE_WINDOW`](/en/tmux/3.2a/reference/c-enum-window_customize_scope-window_customize_window/) (constant)
- [`cmd_find_state.wp`](/en/tmux/3.2a/reference/c-struct-cmd_find_state-wp/) (attribute)
