chiark
/
gitweb
/
~mdw
/
clg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A lot of binding changes
[clg]
/
hello-world.lisp
diff --git
a/hello-world.lisp
b/hello-world.lisp
index d89a58539bfe3e85b4133d5c180a1c4cafd813a3..0f4b5ec83188016b4515a970e7c32041498bf190 100644
(file)
--- a/
hello-world.lisp
+++ b/
hello-world.lisp
@@
-1,15
+1,15
@@
-(
use
-package "GTK")
+(
in
-package "GTK")
(make-instance 'window
:type :toplevel
:title "Test"
:border-width 5
(make-instance 'window
:type :toplevel
:title "Test"
:border-width 5
- :
visible
t
+ :
show-all
t
:child (make-instance 'button
:label "Hello World!"
:child (make-instance 'button
:label "Hello World!"
- :
visible t
- :signals
-
(list (list 'clicked #'(lambda () (write-line "Button clicked"))))
))
-
+ :
signal (list 'clicked
+ #'(lambda (button)
+
(print button) (write-line "clicked"
))
+ :object t)))