Entry.text readwrite


Get or set the Entry text content as a string.

After a change in the Entry.text property, the Entry object do not autosize.

Example

--! luart-extensions import ui -- create a simple Window local win = ui.Window("Entry.text sample", 320, 200) -- add a Entry... local entry = ui.Entry(win, "LuaRT", 124, 80) -- ...and a Button ui.Button(win, "Show Entry.text", 105, 110).onClick = function (self) ui.info("Entry.text = "..entry.text) end win:show() -- update the user interface until the user closes the Window repeat ui.update() until not win.visible