# status_get_range

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L284
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-status_get_range/

```c
struct style_range * status_get_range(struct client *c, u_int x, u_int y)
```

## Parameters

- `c` (`struct client *`)
- `x` (`u_int`)
- `y` (`u_int`)

## Called by

- [`format_cb_mouse_status_range`](/en/tmux/3.7c/reference/c-function-format-c-format_cb_mouse_status_range/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/format.c#L1348)
- [`server_client_check_mouse`](/en/tmux/3.7c/reference/c-function-server-client-c-server_client_check_mouse/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/server-client.c#L825)

## Calls

- [`style_ranges_get_range`](/en/tmux/3.7c/reference/c-function-style_ranges_get_range/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/status.c#L290)

## Referenced by

- [`server_client_detach`](/en/tmux/3.7c/reference/c-function-server_client_detach/) (function)

## Referenced declarations

- [`client`](/en/tmux/3.7c/reference/c-struct-client/) (struct)
- [`status_line.entries`](/en/tmux/3.7c/reference/c-struct-status_line-entries/) (attribute)
- [`nitems`](/en/tmux/3.7c/reference/c-define-tmux-h-nitems/) (constant)
- [`style_line_entry.ranges`](/en/tmux/3.7c/reference/c-struct-style_line_entry-ranges/) (attribute)
- [`client.status`](/en/tmux/3.7c/reference/c-struct-client-status/) (attribute)
- [`style_range`](/en/tmux/3.7c/reference/c-struct-style_range/) (struct)
