[plt-scheme] The missing drawing context
Matthew Flatt wrote:
> The example still doesn't give the pasteboard a dc --- which comes from
> an editor-canvas%, for example.
>
> If you add
>
> (define f (new frame% [label "test"]))
> (define c (new editor-canvas% [parent f][editor pasteboard]))
>
> to the end of the program, then your callbacks are run.
That does indeed work.
But...
Since the example (without the editor-canvas) displays
the pasteboard and string snip correctly, there must
have been a drawing context created by DrScheme in play?
--
Jens Axel Søgaard