HandMorph mega mail

dpennell at quallaby.com dpennell at quallaby.com
Fri Mar 24 18:45:47 UTC 2000

[mega snip]

Thanks for this.  I am (hopefully) going to make my own HandMorph 
subclass this weekend.  I will be very interested in any work that
is done with HandMorph.

I got the following advice from Dan Ingalls on working on something
like HandMorph without clobbering Morphic:

>What you might want to do instead would be to have a little do-it that
replaces the current >hand by yours, and saves the original in a global or a
class variable.  Then you could add >a line to the error handler that would
restore the original hand and put yours where it can >be inspected -- maybe
just swap them.

>You might want to check out 'as:', a message in object that would allow you
to very quickly >initialize your hand as a copy of the existing hand.
>	SaveHand := World swapHandWith: (World activeHand as:
>Then in errors,
>	CosmoHand := World swapHandWith: SaveHand.

Any other advice is very welcome.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20000324/e407b10f/attachment.htm

More information about the Squeak-dev mailing list