# 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::getParent(): UI\Control
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

- UI\Controls\MultilineEntry::append — Append Text
- UI\Controls\MultilineEntry::__construct — Construct a new Multiline Entry
- UI\Controls\MultilineEntry::getText — Get Text
- UI\Controls\MultilineEntry::isReadOnly — Read Only Detection
- UI\Controls\MultilineEntry::onChange — Change Handler
- UI\Controls\MultilineEntry::setReadOnly — Set Read Only
- UI\Controls\MultilineEntry::setText — Set Text

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open