embedding morphs in text
Tom
tmb at lumo.com
Sat Mar 24 08:39:06 UTC 2001
I would like to embed morphs in text and have them flow with the text.
Is this possible?
Despite dilligent digging, the only kinds of embeddings I could find by
looking at the code are:
-- morphs can be embedded at particular coordinates inside a "Text"
object; the text will flow around the embedded morph (well, most
of the time)
-- text can be made special through text properties so that something
happens when you click on it
What I'm looking for is the following:
-- I'd like to embed a morph in the text as if it were a glyph;
by default, HTML images act that way, and the Tk text widget
offers this functionality as well
What would also be useful would be this:
-- I'd like to embed a morph in the text similar to what
<img align=left ...> and similar do; that is, the morph
would be associated with a particular text location, but
the text would still flow around it.
Is there some magical morph that I didn't find?
Thanks,
Thomas.
More information about the Squeak-dev
mailing list
|