[CONNECTORS] How to abort crosshair mode

Martin Drautzburg martin.drautzburg at web.de
Wed May 21 08:02:05 UTC 2003


Ned Konz <ned at bike-nomad.com> writes:

> > While this would still be nice to have, my main concern it: how to
> > I get out of the crosshair mode.
> 
> brute force works:
> 
> NCConnectorMorph allSubInstancesDo: [ :c | c stopMonitoring ].
> NCHighlightMorph allInstancesDo: [ :h | h delete ].
> 
> > > Why not just stick the playfield in another Morph and make that
> > > connectable?
> >
> > I don't quite understand the semantics behind it. Why can't I
> > simply connect a playfield. By sticking the playfield into another
> > Morph it looks I supply a missing bit of information. What is this
> > ?
> 
> The problem is that there is logic in connectionTargetsAt:for: that 
> will stop looking at playfields. But then you drop the connector into 
> the playfield anyway, and the connector misses this event, since it's 
> expecting to be dropped into a playfield. I can fix this, but I won't 
> be able to get to this till sometime next month.

No need to hurry. Thanks alot. 



More information about the Squeak-dev mailing list