RosettaCodeData/Task/Window-creation/Unicon/window-creation.unicon
2023-07-01 13:44:08 -04:00

17 lines
335 B
Text

import gui
$include "guih.icn"
class WindowApp : Dialog ()
# -- automatically called when the dialog is created
method component_setup ()
# make sure we respond to close event
connect(self, "dispose", CLOSE_BUTTON_EVENT)
end
end
# create and show the window
procedure main ()
w := WindowApp ()
w.show_modal ()
end