aboutsummaryrefslogtreecommitdiff
path: root/tests/gui/windows.rkt
diff options
context:
space:
mode:
authorIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-04-09 22:37:50 -0400
committerIbrahim Mkusa <ibrahimmkusa@gmail.com>2017-04-09 22:37:50 -0400
commitcb381871d518077649be6272af823dabec2fcd28 (patch)
tree98547efe9389421f9f58219a8278e166d2b069c6 /tests/gui/windows.rkt
parent404f3d7edfe648dc3fd51c1afc1b3984557f1902 (diff)
reorganized repo a bit better
Diffstat (limited to 'tests/gui/windows.rkt')
-rw-r--r--tests/gui/windows.rkt9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/gui/windows.rkt b/tests/gui/windows.rkt
new file mode 100644
index 0000000..4524673
--- /dev/null
+++ b/tests/gui/windows.rkt
@@ -0,0 +1,9 @@
+#lang racket
+
+(require racket/gui/base)
+
+;; Create a new window via the frame class
+(define frame (new frame% [label "Example"]))
+
+;; Show frame(window) by calling it show method
+(send frame show #t) ;; you call object methods via send