File examples/canvas-sample.scm artifact 79565e1fcb part of check-in b465d05d14


(use iup canvas-draw)
(import canvas-draw-iup)

 (define dlg
   (dialog #:title "Test" #:minsize "320x240"
     (canvas #:action (make-canvas-action
       (lambda (cnv x y)
         (canvas-clear! cnv)
         (canvas-text! cnv 40 40 "Hello world!"))))))

 (show dlg)
 (main-loop)