Entry - Garland-g/perl6-libui GitHub Wiki
Entry
Libui::Entry, Libui::PasswordEntry, Libui::SearchEntry
A text field to input and display text.
Methods
new()
Creates a Libui::Entry.
text() returns Str
Returns the text content of the Entry.
set-text(Str:D $text)
or text(Str:D $text)
Sets the text content of the Entry.
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.