Or just
ImageMorph new
image: ThemeIcons confirmIcon ;
openInWindow
2011/8/11 Stéphane Ducasse <[email protected]>
>
> On Aug 11, 2011, at 7:43 AM, C. Hever wrote:
>
> > Hello, all. I plan on visualizing fractals in Pharo sometime soon.
> > However, there is a bit of a snag. I've figured out enough to write
> > pixels to a form and save it as an image. However, that lacks the
> > immediacy of being able to see it right in Pharo. Morphic is very
> > confusing so what I'd like to know is how I can draw an image in a
> > window, have all the normal window stuff like move and resize, maybe
> > update it, then delete it when I'm done.
> >
> > TIA
> >
>
> i := ImageMorph new
> image: ThemeIcons confirmIcon ;
> openInWorld
>
> then SystemWindow
> ... addMorph: i.
>
>
>
>