[plt-scheme] Inserting an image programmatically
(make-object image-snip% ...)
Chongkai
Mark Engelberg wrote:
> I'd like to write a function that displays in the interactions window
> (or pops it up in a separate window) a file-based image.
>
> My first try was this:
> (require scheme/gui)
> (make-object bitmap% "C:\\temp\\soccerball.gif")
>
> but this just prints #<bitmap%> in the interactions window.
>
> How do I get this to display, just like an image inserted using the
> Insert Image menu item?
>
> Thanks,
>
> Mark
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>