Table of Contents

Class: ScrolledTable CGLtk/Table.py

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.

Base Classes   
Pmw.MegaWidget
Methods   
__init__
columnTitles
interior
rowTitles
setColumnTitle
setRowTitle
showTitles
  __init__ 
__init__ (
        self,
        parent=None,
        **kw,
        )

  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.

  interior 
interior ( self )

  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).

  showTitles 
showTitles ( self )

Show row/column titles of an empty table


Table of Contents

This document was automatically generated on Wed Mar 26 19:02:01 2003 by HappyDoc version 2.1