From d075b4831a10db83840c5e2fd11fb2b59722adfc Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sat, 8 Aug 2015 19:58:36 +0200 Subject: ObjectIO tests --- hello.icl | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hello.icl (limited to 'hello.icl') diff --git a/hello.icl b/hello.icl new file mode 100644 index 0000000..1988c6a --- /dev/null +++ b/hello.icl @@ -0,0 +1,17 @@ +module hello + +import StdEnv, StdIO + +Start :: *World -> *World +Start world = startIO NDI Void initialise [] world +where + initialise pst + # (error,pst) = openDialog Void hello pst + | error <> NoError = closeProcess pst + | otherwise = pst + + hello = Dialog "ObjectIO" controls [WindowClose (noLS closeProcess)] + controls = TextControl "Hello World!" [] :+: + TextControl "Text 2" [] :+: + ButtonControl "Button" [] + -- cgit v1.2.3