# tmuxp.workspace.builder.ClassicWorkspaceBuilder.iter_create_panes

- **Module:** tmuxp.workspace.builder
- **Package:** tmuxp
- **Language:** Python
- **Kind:** method
- **Source:** https://github.com/tmux-python/tmuxp/blob/153acdf6ff1268b14d3d03ed488f545a7123c8f1/src/tmuxp/workspace/builder/classic.py#L725
- **Page:** https://libtmux.org/en/py/stable/workspace/reference/tmuxp-workspace-builder-classicworkspacebuilder-iter_create_panes/

```
tmuxp.workspace.builder.ClassicWorkspaceBuilder.iter_create_panes(
    self, window: Window, window_config: dict[str, t.Any]
) -> Iterator[t.Any]
```

Return :class:`libtmux.Pane` iterating through window config dict.

Run ``shell_command`` with [`$ tmux send-keys`](/en/tmux/latest/manual/send-keys/).

## Parameters

- `window` (`Window`): window to create panes for
- `window_config` (`dict[str, t.Any]`): config section for window

## Returns

tuple of (:class:`libtmux.Pane`, ``pane_config``)
    Newly created pane, and the section from the tmuxp configuration
    that was used to create the pane.
