diff options
Diffstat (limited to 'tests/gui/windows.rkt')
-rw-r--r-- | tests/gui/windows.rkt | 9 |
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 |