MultilineEntry - Garland-g/perl6-libui GitHub Wiki

MultilineEntry

Libui::MultilineEntry, Libui::NonWrappingMultilineEntry

An entry that spans multiple lines.

Methods

new()

Creates a MultilineEntry.

text() returns Str

Returns the text content of the MultilineEntry.

set-text(Str:D $text) or text(Str:D $text)

Sets the text content of the MultilineEntry.

append(Str:D $text)

Appends $text to the MultilineEntry.

changed() returns Supply

Returns a Supply. An event is emitted whenever the text is changed.

read-only() returns Bool

Returns True if the Entry is read-only.

set-read-only(Bool:D(Int) $read-only) or read-only(Bool:D(Int) $read-only)

Sets the read-only property of the Entry.