Specifies the style or format of a table. The TableStyle contains the
characteristics of table width (in percentage of the full width), the
number of columns, and the width of each column as a percentage of the
width of the table.
|
__init__(self,
obj=None)
Create a new TableStyle object, with the values initialized to empty,
with allocating space for up to 100 columns. |
source code
|
|
|
set_width(self,
width)
Set the width of the table in terms of percent of the available width |
source code
|
|
|
get_width(self)
Return the specified width as a percentage of the available space |
source code
|
|
|
|
|
get_columns(self)
Return the number of columns |
source code
|
|
|
set_column_widths(self,
clist)
Set the width of all the columns at once, taking the percentages from
the passed list. |
source code
|
|
|
|
|
|