[plt-scheme] The missing drawing context

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Mar 20 16:20:27 EDT 2009

At Fri, 20 Mar 2009 21:16:58 +0100, Jens Axel Soegaard wrote:
> Matthew Flatt wrote:
> > To show a snip, DrScheme makes a copy of the snip, instead of inserting
> > it directly. So, you'd need to override the editor-snip% `copy' and
> > pasteboard% `copy-self' methods to re-instantiate your class.
> That explains it.
> So is it the "override copy" or the "create an editor-canvas" approach
> to be preferred? (Hmm. I will probably need a lot of snips, so the
> copy approach might use less memory)

Does the `aligned=pasteboard%' class of `embedded-gui' help at all?

Posted on the users mailing list.