Entry:show() method
Show and activate the Entry (events can now be fired).
Return value
This function returns no value.Example
local ui = require "ui"
-- create a simple Window
local win = ui.Window("Entry:show() sample", 320, 200)
local entry = ui.Entry(win, "LuaRT", 130, 80)
entry.font = "Impact"
entry.fontsize = 18
-- Spawn a Task to hide/show Entry every 500ms
async(function()
while true do
entry:show()
sleep(500)
entry:hide()
sleep(500)
end
end)
ui.run(win):wait()