Trees | Indices | Help |
---|
|
This object gives access to Texts in Blender.
|
|||
string |
|
||
|
|||
string |
|
||
int |
|
||
|
|||
|
|||
string |
|
||
|
|||
|
|||
|
|||
list of strings |
|
||
(int, int) |
|
||
|
|||
(int, int) |
|
||
|
|||
|
|||
|
|
|||
bool |
fakeUser When set to True, this datablock wont be removed, even if nothing is using it. |
||
filename The filename of the file loaded into this Text. |
|||
string or None |
lib path to the blend file this datablock is stored in (readonly). |
||
mode The follow_mode flag: if 1 it is 'on'; if 0, 'off'. |
|||
string |
name unique name within each blend file. |
||
nlines The number of lines in this Text. |
|||
IDGroup |
properties Returns an IDGroup reference to this datablocks's ID Properties. |
||
bool |
tag A temporary tag that to flag data as being used within a loop. |
||
int |
users The number of users this datablock has. |
|
Set the name of this Text object.
|
Reads a line of text from the buffer from the current IO pointer position to the end of the line. If the text has changed since the last read, reset() *must* be called.
|
Set this Text's attributes.
|
Append a string to this Text buffer.
|
Inserts a string into this Text buffer at the cursor.
|
Retrieve the contents of this Text buffer as a list of strings between the start and end lines specified. If end < 0 all lines from start will be included.
|
Retrieve the position of the cursor in this Text buffer.
|
Set the position of the cursor in this Text buffer. Any selection will be cleared. Use setSelectPos to extend a selection from the point specified here.
|
Retrieve the position of the selection cursor in this Text buffer.
|
Set the position of the selection cursor in this Text buffer. This method should be called after setCursorPos to extend the selection to the specified point.
|
Suggest a list of names. If list is a list of tuples (name, type) the list will be formatted to syntax-highlight each entry type. Types must be strings in the list ['m', 'f', 'v', 'k', '?']. It is recommended that the list be sorted, case-insensitively by name.
|
Displays a word-wrapped message box containing the specified documentation when this Text object is visible.
|
|
fakeUserWhen set to True, this datablock wont be removed, even if nothing is using it. All data has this disabled by default except for Actions.
|
libpath to the blend file this datablock is stored in (readonly).lib will be None unless you are using external blend files with (File, Append/Link) Note: the path may be relative, to get the full path use Blender.sys.expandpath
|
nameunique name within each blend file.The name is case sensitive and 21 characters maximum length. Note: a blend file may have naming collisions when external library data is used, be sure to check the value of lib. Note: Setting a value longer then 21 characters will be shortened
|
tagA temporary tag that to flag data as being used within a loop. always set all tags to True or False before using since blender uses this flag for its own internal operations.
|
usersThe number of users this datablock has. (readonly) Zero user datablocks are de-allocated after reloading and saving.
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Oct 24 10:23:53 2008 | http://epydoc.sourceforge.net |