MultilineEntry Control

(UI 0.9.9)

Introduction

A Multiline Entry is a text entry control able to hold multiple lines of text, with or without wrapping.

Class synopsis

class UI\Controls\MultilineEntry extends UI\Control {
/* Constants */
const int Wrap;
const int NoWrap;
/* Constructor */
public function __construct(int $type = ?)
/* Methods */
public function append(string $text)
public function getText(): string
public function isReadOnly(): bool
protected function onChange()
public function setReadOnly(bool $readOnly)
public function setText(string $text)
/* Inherited methods */
public function UI\Control::destroy()
public function UI\Control::disable()
public function UI\Control::enable()
public function UI\Control::getTopLevel(): int
public function UI\Control::hide()
public function UI\Control::isEnabled(): bool
public function UI\Control::isVisible(): bool
public function UI\Control::setParent(UI\Control $parent)
public function UI\Control::show()
}

Predefined Constants

UI\Controls\MultilineEntry::Wrap

Allow lines to wrap

UI\Controls\MultilineEntry::NoWrap

Do not allow lines to wrap

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top