# cmd_select_layout_entry

- **Language:** C
- **Kind:** attribute
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-select-layout.c#L32
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-variable-cmd_select_layout_entry/

tmux command: [`select-layout`](/en/tmux/3.7c/manual/select-layout/)

```c
const struct cmd_entry cmd_select_layout_entry = {
    .name = "select-layout",
    .alias = "selectl",

    .args = { "Enopt:", 0, 1, NULL },
    .usage = "[-Enop] " "[-t target-pane]" " [layout-name]",

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

    .flags = 0x4 ,
    .exec = cmd_select_layout_exec
};
```

## Other function references

- [`cmd_select_layout_exec`](/en/tmux/3.7c/reference/c-function-cmd-select-layout-c-cmd_select_layout_exec/) (function)

## Referenced declarations

- [`args`](/en/tmux/3.7c/reference/c-struct-args/) (struct)
- [`cmd_entry`](/en/tmux/3.7c/reference/c-struct-cmd_entry/) (struct)
- [`CMD_FIND_PANE`](/en/tmux/3.7c/reference/c-enum-cmd_find_type-cmd_find_pane/) (constant)
