Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
#lang racket/gui
|
||||
|
||||
(define frame (new frame% [label "There have been no clicks yet"]))
|
||||
|
||||
(define num-clicks 0)
|
||||
(define (cb obj me)
|
||||
(set! num-clicks (add1 num-clicks))
|
||||
(send frame set-label (format "~a" num-clicks)))
|
||||
|
||||
(new button% [parent frame] [label "Click me"] [callback cb])
|
||||
(send frame show #t)
|
||||
Loading…
Add table
Add a link
Reference in a new issue