Connectors and RectangleMorph

Ned Konz ned at bike-nomad.com
Fri Aug 20 18:26:45 UTC 2004


On Friday 20 August 2004 10:52 am, Samuel Tardieu wrote:
> I am currently building a RectangleMorph, in which I have various
> objects layed out in a table look.
>
> I need to connect (using Connectors) several objects in this
> rectangle and get a picture (using #pictureForm) of the englobing
> rectangle, including the connectors.
>
> However, the connectors are attached to the world and not to the
> rectangle. How can I transform them into submorphs of the rectangle?

Use a PasteUpMorph instead of a RectangleMorph.

-- 
Ned Konz
http://bike-nomad.com




More information about the Squeak-dev mailing list