X-Git-Url: https://git.distorted.org.uk/~mdw/clg/blobdiff_plain/560af5c515eb5b6206040a9334de4254d2650147..652b6698a94684fdea681fe6d55fe084b8a1c589:/hello-world.lisp diff --git a/hello-world.lisp b/hello-world.lisp index d89a585..4334c17 100644 --- a/hello-world.lisp +++ b/hello-world.lisp @@ -4,12 +4,12 @@ :type :toplevel :title "Test" :border-width 5 - :visible t + :show-all t :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)))