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)
| 1334 | |
| 1335 | @safely_destruct_output_when_exp('content') |
| 1336 | def 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 | |
| 1349 | def _row_column_layout(content, flow, size, scope=None, position=OutputPosition.BOTTOM) -> Output: |
no test coverage detected
searching dependent graphs…