Constraining resize/creation behavior

Ned Konz ned at squeakland.org
Thu Nov 20 17:29:48 UTC 2003


On Thursday 20 November 2003 7:50 am, Bijan Parsia wrote:
> > Or you could override the methods that construct the halo handles
> > themselves (#addGrowHandle:, #addScaleHandle: #addDragHandle:, etc.)
>
> Ok, interesting, thanks.. It does mean I have to either add this behavior
> to all morphs or subclass every shape I want to use. I can live with that,
> I guess. I confess to hoping that this behavior was a bit more
> parameterizable.

It is, since the HaloSpecs are in Preferences.

Look at Preferences class>>installHaloTheme:

You could have your world, upon becoming active, install a new halo theme.




More information about the Squeak-dev mailing list