FixGUI Documentation

Back to summary

import "gui/view";

TextArea class

Text area (multi-line text).

Inherits from View.

Initialization

static function create(): TextArea
Creates a new text area.

Properties

function get_text(): String
Returns the text.
function set_text(text: String)
Sets the text.
function append_text(text: String)
Appends the text at the end and scrolls into it.
function set_read_only(read_only: Boolean)
Sets the text area as read only.
function is_read_only(): Boolean
Returns whether the text area is read only.
function is_enabled(): Boolean
Returns whether the text area is enabled.
function set_enabled(enabled: Boolean)
Enables or disables the text area.