MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / put_column

Function put_column

pywebio/output.py:1336–1346  ·  view source on GitHub ↗

Use column layout to output content. The content is arranged vertically :param list content: Content list, the item is ``put_xxx()`` call or ``None``. ``None`` represents the space between the output :param str size: Used to indicate the width of the items, is a list of width values separat

(content: List[Union[Output, None]] = [], size: str = None, scope: str = None,
               position: int = OutputPosition.BOTTOM)

Source from the content-addressed store, hash-verified

1334
1335@safely_destruct_output_when_exp('content')
1336def put_column(content: List[Union[Output, None]] = [], size: str = None, scope: str = None,
1337 position: int = OutputPosition.BOTTOM) -> Output:
1338 """Use column layout to output content. The content is arranged vertically
1339
1340 :param list content: Content list, the item is ``put_xxx()`` call or ``None``. ``None`` represents the space between the output
1341 :param str size: Used to indicate the width of the items, is a list of width values separated by space.
1342 The format is the same as the ``size`` parameter of the `put_row()` function.
1343 :param int scope, position: Those arguments have the same meaning as for `put_text()`
1344 """
1345
1346 return _row_column_layout(content, flow='row', size=size, scope=scope, position=position).enable_context_manager()
1347
1348
1349def _row_column_layout(content, flow, size, scope=None, position=OutputPosition.BOTTOM) -> Output:

Callers 4

targetFunction · 0.85
basic_outputFunction · 0.85
mainFunction · 0.85
output_widgetsFunction · 0.85

Calls 2

_row_column_layoutFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…