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