aboutsummaryrefslogtreecommitdiff
path: root/vendor/x11iraf/guidemo/hello.gui
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /vendor/x11iraf/guidemo/hello.gui
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'vendor/x11iraf/guidemo/hello.gui')
-rw-r--r--vendor/x11iraf/guidemo/hello.gui23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/x11iraf/guidemo/hello.gui b/vendor/x11iraf/guidemo/hello.gui
new file mode 100644
index 00000000..5b5df35a
--- /dev/null
+++ b/vendor/x11iraf/guidemo/hello.gui
@@ -0,0 +1,23 @@
+# HELLO.GUI -- Graphics user interface for the "hello world" demo task.
+
+reset-server
+appInitialize hello Hello {
+!
+! Application defaults for the hello world program.
+!
+
+Hello*objects:\
+ toplevel Form helloForm\
+ helloForm Label helloLabel\
+ helloForm Command quitButton
+
+Hello*helloForm*background: bisque
+Hello*helloForm*helloLabel.label: Hello, world!
+Hello*helloForm*quitButton.fromHoriz: helloLabel
+Hello*helloForm*quitButton.label: Quit
+}
+
+createObjects
+proc quit args { send client gkey q; deactivate unmap }
+send quitButton addCallback quit
+activate