A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
15
Task/Hello-world-Graphical/Scheme/hello-world-graphical.ss
Normal file
15
Task/Hello-world-Graphical/Scheme/hello-world-graphical.ss
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!r6rs
|
||||
|
||||
;; PS-TK example: display frame + label
|
||||
|
||||
(import (rnrs)
|
||||
(lib pstk main) ; change this to refer to your PS/Tk installation
|
||||
)
|
||||
|
||||
(define tk (tk-start))
|
||||
(tk/wm 'title tk "PS-Tk Example: Label")
|
||||
|
||||
(let ((label (tk 'create-widget 'label 'text: "Goodbye, world")))
|
||||
(tk/place label 'height: 20 'width: 50 'x: 10 'y: 20))
|
||||
|
||||
(tk-event-loop tk)
|
||||
Loading…
Add table
Add a link
Reference in a new issue