@cawright.99 you can do (define-values (a b c) (values 1 2 3))
thanks again @samth. that’s a really nice idiom to file away
Say, if I’d eventually like the ability to add features like mouseovers to parts of an image in a window, should I be making that image with the pict library or should I just implement everything directly out of ‘draw’ primitives straight on the canvas?
You can’t address parts of a pict
to add event handlers to them
Uh oh. Is there a good or natural way to do it?
I just started reading this, found after some googling: https://alex-hhh.github.io/2018/03/interactive-overlays-with-the-racket-plot-package-update.html
Maybe with pasteboard%?
yes, a pasteboard or an editor or various other things can do that
picts are just pictures, rather than GUI elements
OK, thanks. I’ll dig further into pasteboard.
Got it. BTW, is there no easy way to tell if two elements in a pict overlap?
@isomorphisms has joined the channel