ui.windows readonly property


Get a table, representing a list of all created Window objects, even if not visible.

Example

local ui = require "ui" local x = 0 local y = 0 for i = 1,10 do local win = ui.Window("Window #"..i, 320, 200) win.x = x win.y = y x = x+50 y = y+30 end async(function() for win in each(ui.windows) do win:show() sleep(500) win:hide() end end) waitall()