# cmd_rotate_window_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-rotate-window.c#L30
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-variable-cmd_rotate_window_entry/

tmux command: [`rotate-window`](/en/tmux/latest/manual/rotate-window/)

```c
const struct cmd_entry cmd_rotate_window_entry = {
    .name = "rotate-window",
    .alias = "rotatew",

    .args = { "Dt:UZ", 0, 0, NULL },
    .usage = "[-DUZ] " "[-t target-window]" ,

    .target = { 't', CMD_FIND_WINDOW, 0 },

    .flags = 0,
    .exec = cmd_rotate_window_exec
};
```

## Other function references

- [`cmd_rotate_window_exec`](/en/tmux/latest/reference/c-function-cmd-rotate-window-c-cmd_rotate_window_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/latest/reference/c-struct-args/) (struct)
- [`cmd_entry`](/en/tmux/latest/reference/c-struct-cmd_entry/) (struct)
- [`CMD_FIND_WINDOW`](/en/tmux/latest/reference/c-enum-cmd_find_type-cmd_find_window/) (constant)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
