samth
2018-10-8 13:24:01

@cawright.99 you can do (define-values (a b c) (values 1 2 3))


cawright.99
2018-10-9 00:12:49

thanks again @samth. that’s a really nice idiom to file away


bkovitz
2018-10-9 01:03:45

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?


samth
2018-10-9 01:07:03

You can’t address parts of a pict to add event handlers to them


bkovitz
2018-10-9 01:08:17

Uh oh. Is there a good or natural way to do it?


bkovitz
2018-10-9 01:08:32

bkovitz
2018-10-9 01:10:30

Maybe with pasteboard%?


samth
2018-10-9 01:11:03

yes, a pasteboard or an editor or various other things can do that


samth
2018-10-9 01:11:16

picts are just pictures, rather than GUI elements


bkovitz
2018-10-9 01:11:24

OK, thanks. I’ll dig further into pasteboard.


bkovitz
2018-10-9 01:11:53

Got it. BTW, is there no easy way to tell if two elements in a pict overlap?


isomorphisms
2018-10-9 06:07:16

@isomorphisms has joined the channel