[Q] suppressing halo's

Bert Freudenberg squeak-dev at lists.squeakfoundation.org
Mon Oct 14 10:01:27 UTC 2002


On Mon, 14 Oct 2002, Rudi Angela wrote:

> Out of the box (current situation), if the user does a blue button click
> on a media fragment morph, a halo appears around the ScrollPane object
> (outermost object). Of course if he continues clicking he will
> eventually get the halo around the media fragment morph. But this has
> proven to be confusing even for adult users (while this is an
> application for children).
>
> The question is: how can I make Squeak only provide halo's around
> objects (or rather: classes) of my choice.

Halos handle further clicks by themselves. When the blueButton is clicked,
HaloMorph>>transferHalo: takes over. The actual logic is in
Morph>>transferHalo:from:. I guess you could overwrite this method in your
media morph to not transfer the halo to its children.

-- Bert




More information about the Squeak-dev mailing list