CTextView:Class Description


The CTextView class manages the Mira Text Editor window. Use this class to print messages in a scrolling editor window. For further information on the Text Editor, see the Mira User's Guide. This is a class based version of the global CreateTextWindow function.

Usage

Construction

Object = CTextView:new()

Destruction

Object:delete()

Methods

Construction

new

Creates a new instance of a CTextView object.

delete

Deletes the CTextView object.

AttachHandle

Attaches the handle of a GUI text Window to this CTextView object.

GetHandle

Retrieves the handle of the GUI text window attached to the current object.

General Methods

GetWordwrap

Returns the current word wrapping state of the Text Editor.

Printf

Prints formatted text to the CTextView.

SetWordwrap

Sets the word wrapping state of the window wrapped by the CTextView.

Related Topics

Script Classes