Window:minimize() method
Minimize the Window to the taskbar(events can no longer be fired).
Return value
This function returns no value.Example
local ui = require "ui"
-- create a simple window
local win = ui.Window("Window:minimize() example", "fixed", 150, 90)
local button = ui.Button(win, "Minimize me !", 35)
function button:onClick()
win:minimize()
end
-- shows the Window
win:show()
-- update user interface
repeat
ui.update()
until not win.visible