Thanks for the suggestion.

I did think about using a surrogate to wrap the existing "wxmedia" object -
but that would not help me instantiate the custom snip.

I have a cut-n-paste version working, although it seems that editor-snip-class%
has access to hidden methods of editor-stream-in% and editor-snip% - so I
have to gloss over some of the logic.


On Wed, Jul 24, 2013 at 3:34 PM, Matthew Flatt <[email protected]> wrote:

>
> I'm not sure that this is a good answer, but you could use
>
>   (send (get-the-snip-class-list) find "wxmedia")
>
> to get an instance of `editor-snip-class%'.
>
>
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to