X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/clg/blobdiff_plain/b1bd926714a41589d68b83d72d511fb91655c48d..050f6c9f2af72fa8a1114b02e823118ef258e08a:/hello-world.lisp diff --git a/hello-world.lisp b/hello-world.lisp index f6881bf..2ce6269 100644 --- a/hello-world.lisp +++ b/hello-world.lisp @@ -1,13 +1,11 @@ -(use-package :gtk) +(gtk:clg-init) -(clg-init) - -(make-instance 'window +(make-instance 'gtk:window ; :type :toplevel :title "Test" :border-width 5 - :visible :show-children t - :child (make-instance 'button + :visible t :show-children t + :child (make-instance 'gtk:button :label "Hello World!" :signal (list 'clicked #'(lambda ()