Table of Contents

Class: SimpleTable PmwContribD-r2_0_2/SimpleTable.py

Defines a basic (rather memory intensive) table widget.

The widget looks something like:

      |----------------|
      |Col |Col |Col   |
      |----------------|
      |Data|Data|Data  |
      |    |    |      |
      |----------------|

Options

columns

Define the number of columns to be shown.

Base Classes   
Pmw.LabeledWidget
Methods   
__createInterior
__init__
clear
setfromtext
  __createInterior 
__createInterior ( self )

  __init__ 
__init__ (
        self,
        parent=None,
        **kw,
        )

  clear 
clear ( self )

  setfromtext 
setfromtext (
        self,
        text,
        fieldSep='\t',
        recordSep='\n',
        colWidth=150,
        )

Set the table contents from a text block which requires parsing.

Arguments

text

body of text to display

fieldSep

character/string appearing between fields

recordSep

character/string appearing between records

colWidth

width of columns on screen, in pixels (all columns are the same width)


Table of Contents

This document was automatically generated on Thu Jun 20 09:06:33 2002 by HappyDoc version r2_0