Need to provide examples.

This commit is contained in:
2025-08-24 01:06:02 +02:00
parent 38fcf0265f
commit 1527026ad9
4 changed files with 707 additions and 329 deletions

25
private/wr-test1.rkt Normal file
View File

@@ -0,0 +1,25 @@
#lang racket/gui
(require "web-racket.rkt"
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Testing stuff
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define test-menu
'(("File" (("Open" open) ("Close" close) ("Quit" quit)))
("Edit" (("Copy" copy) ("Advanced" (("Copy 1" copy1) ("Copy 2" copy2)))
("Cut" cut) ("Paste" paste)))
))
(define test-window%
(class ww-window%
(super-new [html-file "../../web-wire/test/test1.html"])
(begin
(set-menu test-menu)
)
))
); end of module