Display a GUI window. The window need not have any contents, but should respond to requests to be closed.

local iup = require "iuplua"
 
iup.dialog{
  title = "Window";
  iup.vbox{
    margin = "10x10";
    iup.label{title = "A window"}
  }
}:show()
 
iup.MainLoop()
 