|
|
None | __init__ (self, Optional[Iterable[RenderableType]] renderables=None, PaddingDimensions padding=(0, 1), *Optional[int] width=None, bool expand=False, bool equal=False, bool column_first=False, bool right_to_left=False, Optional[AlignMethod] align=None, Optional[TextType] title=None) |
| |
| None | add_renderable (self, RenderableType renderable) |
| |
|
RenderResult | __rich_console__ (self, Console console, ConsoleOptions options) |
| |
Display renderables in neat columns.
Args:
renderables (Iterable[RenderableType]): Any number of Rich renderables (including str).
width (int, optional): The desired width of the columns, or None to auto detect. Defaults to None.
padding (PaddingDimensions, optional): Optional padding around cells. Defaults to (0, 1).
expand (bool, optional): Expand columns to full width. Defaults to False.
equal (bool, optional): Arrange in to equal sized columns. Defaults to False.
column_first (bool, optional): Align items from top to bottom (rather than left to right). Defaults to False.
right_to_left (bool, optional): Start column from right hand side. Defaults to False.
align (str, optional): Align value ("left", "right", or "center") or None for default. Defaults to None.
title (TextType, optional): Optional title for Columns.