# layout_set_main_h_mirrored

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L309
- **Page:** https://libtmux.org/en/tmux/latest/reference/c-function-layout-set-c-layout_set_main_h_mirrored/

```c
static void layout_set_main_h_mirrored(struct window *)
```

## Parameters

- `w` (`struct window *`)

## Calls

- [`args_string_percentage`](/en/tmux/latest/reference/c-function-args_string_percentage/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L330)
- [`layout_create_cell`](/en/tmux/latest/reference/c-function-layout_create_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L362)
- [`layout_fix_offsets`](/en/tmux/latest/reference/c-function-layout_fix_offsets/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L400)
- [`layout_fix_panes`](/en/tmux/latest/reference/c-function-layout_fix_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L401)
- [`layout_free`](/en/tmux/latest/reference/c-function-layout_free/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L361)
- [`layout_make_leaf`](/en/tmux/latest/reference/c-function-layout_make_leaf/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L373)
- [`layout_make_node`](/en/tmux/latest/reference/c-function-layout_make_node/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L364)
- [`layout_print_cell`](/en/tmux/latest/reference/c-function-layout_print_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L317)
- [`layout_set_size`](/en/tmux/latest/reference/c-function-layout_set_size/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L363)
- [`layout_spread_cell`](/en/tmux/latest/reference/c-function-layout_spread_cell/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L390)
- [`notify_window`](/en/tmux/latest/reference/c-function-notify_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L406)
- [`options_get_string`](/en/tmux/latest/reference/c-function-options_get_string/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L329)
- [`server_redraw_window`](/en/tmux/latest/reference/c-function-server_redraw_window/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L407)
- [`window_count_panes`](/en/tmux/latest/reference/c-function-window_count_panes/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L320)
- [`window_pane_is_floating`](/en/tmux/latest/reference/c-function-window_pane_is_floating/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L381)
- [`window_resize`](/en/tmux/latest/reference/c-function-window_resize/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/layout-set.c#L405)

## Other function references

- [`layout_first_tiled`](/en/tmux/latest/reference/c-function-layout-set-c-layout_first_tiled/) (function)

## Referenced by

- [`layout_sets`](/en/tmux/latest/reference/c-variable-layout-set-c-layout_sets/) (attribute)

## Referenced declarations

- [`layout_cell.cells`](/en/tmux/latest/reference/c-struct-layout_cell-cells/) (attribute)
- [`layout_cell.entry`](/en/tmux/latest/reference/c-struct-layout_cell-entry/) (attribute)
- [`LAYOUT_LEFTRIGHT`](/en/tmux/latest/reference/c-enum-layout_type-layout_leftright/) (constant)
- [`window.layout_root`](/en/tmux/latest/reference/c-struct-window-layout_root/) (attribute)
- [`LAYOUT_TOPBOTTOM`](/en/tmux/latest/reference/c-enum-layout_type-layout_topbottom/) (constant)
- [`window.options`](/en/tmux/latest/reference/c-struct-window-options/) (attribute)
- [`PANE_MINIMUM`](/en/tmux/latest/reference/c-define-tmux-h-pane_minimum/) (constant)
- [`window.panes`](/en/tmux/latest/reference/c-struct-window-panes/) (attribute)
- [`layout_cell.sx`](/en/tmux/latest/reference/c-struct-layout_cell-sx/) (attribute)
- [`window.sx`](/en/tmux/latest/reference/c-struct-window-sx/) (attribute)
- [`layout_cell.sy`](/en/tmux/latest/reference/c-struct-layout_cell-sy/) (attribute)
- [`window.sy`](/en/tmux/latest/reference/c-struct-window-sy/) (attribute)
- [`window`](/en/tmux/latest/reference/c-struct-window/) (struct)
- [`layout_cell.wp`](/en/tmux/latest/reference/c-struct-layout_cell-wp/) (attribute)
