lookatme.widgets.table module¶
Defines a basic Table widget for urwid
- class lookatme.widgets.table.Table(rows, headers=None, aligns: Optional[List[str]] = None)[source]¶
Bases:
Pile
Create a table from a list of headers, alignment values, and rows.
- create_cells(body_rows, modifier=None)[source]¶
Create the rows for the body, optionally calling a modifier function on each created cell Text. The modifier must accept an urwid.Text object and must return an urwid.Text object.
- signals = ['change']¶