aboutsummaryrefslogtreecommitdiff
path: root/tests/gui/windows.rkt
blob: 452467398a0f8f8e1d21db39870867220ee833d8 (plain)
1
2
3
4
5
6
7
8
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