Method: rich.layout.Layout.add_split
Calls: 1, Exceptions: 0, Paths: 1Back
Path 1: 1 calls (1.0)
tuple (1)
1def add_split(self, *layouts: Union["Layout", RenderableType]) -> None:
2 """Add a new layout(s) to existing split.
3
4 Args:
5 *layouts (Union[Layout, RenderableType]): Positional arguments should be renderables or (sub) Layout instances.
6
7 """
8 _layouts = (
9 layout if isinstance(layout, Layout) else Layout(layout)
10 for layout in layouts
11 )
12 self._children.extend(_layouts)