LEVIATHAN v962456e · 962456eee1

dagon

class TextArea

since 0.1.0-alpha.1linux

bases
Focusable, Scrollable, Bordered, Styleable

Constructors

new

new()

Fields

lineHeight_

int lineHeight_

text_

string text_

wrap_

bool wrap_

wrapped_

Array<string> wrapped_

Methods

__dagonChildren

__dagonChildren() -> Array<IComponent>

__dagonContentRect

__dagonContentRect() -> Rect

arrange

arrange(Rect assigned) -> void

chrome

chrome() -> Insets

contentDesired

contentDesired(Size avail) -> Size

contentRect

contentRect() -> Rect

measureWidth

measureWidth(string s) -> int

paintContent

paintContent(Canvas c) -> void

rewrap

rewrap(int availW) -> void

scrollTo

scrollTo(int x, int y) -> void

setText

setText(string t) -> TextArea

text

text() -> string

wrap

wrap(bool on) -> TextArea