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


(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)