Connectors and RectangleMorph

Ned Konz ned at bike-nomad.com
Fri Aug 20 20:28:31 UTC 2004


On Friday 20 August 2004 11:30 am, Samuel Tardieu wrote:
> On 20/08, Ned Konz wrote:
> | Use a PasteUpMorph instead of a RectangleMorph.
>
> That's what I tried to do just after sending my mail. However, how can
> I attach the connector to the PasteUpMorph ?
>
> I create it using:
>
>  NCAAConnector new fromMorph: s1 toMorph: s2; makeForwardArrow.
>
> If I add:
>
>   jumpToOwner: self
>
> to the end, where self is an object deriving from PasteUpMorph, it looks
> like I get the same behaviour as with the rectangleMorph.
>
> I'll make some more tries.

So embed a PasteUpMorph in a RectangleMorph.

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




More information about the Squeak-dev mailing list