[Vm-dev] Simulator window and halos

Eliot Miranda eliot.miranda at gmail.com
Wed Jul 15 20:15:21 UTC 2015


On Wed, Jul 15, 2015 at 1:11 PM, Bert Freudenberg <bert at freudenbergs.de>
wrote:

>
> In the Etoys image we changed wantsHaloFromClick to
>
> wantsHaloFromClick
>         ^ self valueOfProperty: #wantsHaloFromClick ifAbsent: [^true].
>
> With that you could just set the property. Without that, you would have to
> override the method.
>
> - Bert -
>

I'm pretty sure now that what I have to do is implement
handlerForBlueButtonDown: in my subclass of ImageMorph so that it forwards
the event directly to the simulator instead of passing it up.  The problems
with the wantsHaloFromClick approaches are that they either require some
special setting, which the user may not know to apply, or that the effect
of the setting is merely to turn off halos on that submorph, but not on the
enclosing window.

-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150715/9d072dc0/attachment.htm


More information about the Vm-dev mailing list