File examples/canvas-sample.scm artifact 79565e1fcb part of check-in 4b31034008
(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)