Picture:show() method


Show and activate the Picture (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("Picture:show() sample", 340, 180) local picture = ui.Picture(win, "examples/LuaRT.png", -74) -- Spawn a Task to hide/show picture every 500ms async(function() while true do picture:hide() sleep(500) picture:show() sleep(500) end end) ui.run(win):wait()