2016-02-21 0:06 GMT+01:00 Peter Uhnák <i.uh...@gmail.com>:

> Hi,
>
> is it possible to somehow embed images (Form) inside Playground?
>

With good old PluggableTextMorph  and Text you can just call #asText on a
Morph and
add it to the text of the TextMorph:

|text block|
block := [ PolymorphSystemSettings pharoLogo asText, String cr,ProfStef
pharoZenValuesContents ].
text:=(Smalltalk ui theme builder newBasicTextEditorFor: block  getText:
#value setText: nil).
text openInWindow.


Offray did some work on combining spec trees with GT-Playground, to build
some kind of
workbook with code and text.



>
> The use case is a kind of in-image help or guide where one could also
> execute code, but there would be also example images.
>
> Or maybe have a container Morph that would contain Playground? Is that
> possible?
>
> Thanks,
> Peter
>

Reply via email to