MCPcopy
hub / github.com/Textualize/rich / split_row

Method split_row

rich/layout.py:299–305  ·  view source on GitHub ↗

Split the layout in to a row (layouts side by side). Args: *layouts (Layout): Positional arguments should be (sub) Layout instances.

(self, *layouts: Union["Layout", RenderableType])

Source from the content-addressed store, hash-verified

297 self._children.extend(_layouts)
298
299 def split_row(self, *layouts: Union["Layout", RenderableType]) -> None:
300 """Split the layout in to a row (layouts side by side).
301
302 Args:
303 *layouts (Layout): Positional arguments should be (sub) Layout instances.
304 """
305 self.split(*layouts, splitter="row")
306
307 def split_column(self, *layouts: Union["Layout", RenderableType]) -> None:
308 """Split the layout in to a column (layouts stacked on top of each other).

Callers 6

test_refresh_screenFunction · 0.95
test_renderFunction · 0.80
test_treeFunction · 0.80
layout.pyFile · 0.80
make_layoutFunction · 0.80
layout.pyFile · 0.80

Calls 1

splitMethod · 0.95

Tested by 3

test_refresh_screenFunction · 0.76
test_renderFunction · 0.64
test_treeFunction · 0.64