rows is a list of lists containing tuples, which
represent the columns/cells in each rows.
EX
rows = [[(row 1:column1 ,1)],[(row2:column1 ,1)]] a StructuredTextTable holds StructuredTextRows
Methods
|
|
|
|
__init__
|
__init__ (
self,
rows,
src,
subs,
**kw,
)
|
|
_getColorizableTexts
|
_getColorizableTexts ( self )
|
|
_getColumns
|
_getColumns ( self )
|
|
_getRows
|
_getRows ( self )
|
|
_setColorizableTexts
|
_setColorizableTexts ( self )
|
|
_setColumns
|
_setColumns ( self, columns )
|
|
getColorizableTexts
|
getColorizableTexts ( self )
return a tuple where each item is a column/cell's
contents. The tuple, result, will be of this format.
("r1 col1", "r1=col2", "r2 col1", "r2 col2")
|
|
getColumns
|
getColumns ( self )
|
|
getRows
|
getRows ( self )
|
|
setColorizableTexts
|
setColorizableTexts ( self, texts )
texts is going to a tuple where each item is the
result of being mapped to the colortext function.
Need to insert the results appropriately into the
individual columns/cells
|
|
setColumns
|
setColumns ( self, columns )
|
|