/ . / CGLtk / Table.py / ScrolledTable
A scrollable table widget that supports titles that stay put.
The widget should be used like a Frame, with sub-widgets added
using the Grid geometry manager. Do not set the column or
row weights, unless you like unpredictable results.
Methods
|
|
|
rowTitles
|
rowTitles ( self, withKw=0 )
Return the row titles (a dictionary of row=>title).
If withKw , the dictionary value is a 2-tuple of the title
and the keyword dictionary used for title-widget construction.
Also, in this case textvariable titles haven't been massaged
into strings.
|
|
setColumnTitle
|
setColumnTitle (
self,
column,
title,
**kw,
)
Set the title for a column (column index starts at 0).
|
|
setRowTitle
|
setRowTitle (
self,
row,
title,
**kw,
)
Set the title for a row (row index starts at 0).
|
|
interior
|
interior ( self )
|
|
columnTitles
|
columnTitles ( self, withKw=0 )
Return the column titles (a dictionary of column=>title).
If withKw , the dictionary value is a 2-tuple of the title
and the keyword dictionary used for title-widget construction.
Also, in this case textvariable titles haven't been massaged
into strings.
|
|
showTitles
|
showTitles ( self )
Show row/column titles of an empty table
|
|
__init__
|
__init__ (
self,
parent=None,
**kw,
)
|
|
|