Home | Trees | Index | Help |
|
---|
Module Text :: Class Text |
|
Method Summary | |
---|---|
list of strings |
Retrieve the contents of this Text buffer as a list of strings. |
Clear this Text object: its buffer becomes empty. | |
string |
Get the filename of the file loaded into this Text object. |
string |
Get the name of this Text object. |
int |
Get the number of lines in this Text buffer. |
Set this Text's attributes. | |
Set the name of this Text object. | |
Append a string to this Text buffer. |
Instance Variable Summary | |
---|---|
filename : The filename of the file loaded into this Text. | |
mode : The follow_mode flag: if 1 it is 'on'; if 0, 'off'. | |
name : The Text name. | |
nlines : The number of lines in this Text. |
Method Details |
---|
asLines()Retrieve the contents of this Text buffer as a list of strings.
|
clear()Clear this Text object: its buffer becomes empty. |
getFilename()Get the filename of the file loaded into this Text object.
|
getName()Get the name of this Text object.
|
getNLines()Get the number of lines in this Text buffer.
|
set(attribute, value)Set this Text's attributes.
|
setName(name)Set the name of this Text object.
|
write(data)Append a string to this Text buffer.
|
Instance Variable Details |
---|
filenameThe filename of the file loaded into this Text. |
modeThe follow_mode flag: if 1 it is 'on'; if 0, 'off'. |
nameThe Text name. |
nlinesThe number of lines in this Text. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Feb 11 13:30:20 2007 | http://epydoc.sf.net |