MeterMorph, and a question

Ned Konz ned at bike-nomad.com
Sat May 31 02:53:21 UTC 2003


Rick McGeer wrote:
> I needed a speedometer for some eToys, so I wrote the attached and 
> played with it.  I thought others might find  this useful.  Also, since 
> this is my first real morph, I;d be delighted to hear any feedback
> 
> Finally, can someone give me a pointer to documentation to how one can 
> change the Viewer for a Morph?  It's easy enough to change the menus, 
> but I can't find a hook for the Viewer.

What do you want to change? Do you mean that you want to add behavior or 
vocabularies for your Morph?

If so, look at #additionsToViewerCategories.

After you add this method, you need to do

Vocabulary initialize

Or do you want a different viewer than the eToys viewer?



More information about the Squeak-dev mailing list