[Newbies] How to construct a PolygonMorph?

Tim Rowe digitig at gmail.com
Tue Dec 22 17:55:24 UTC 2009


2009/12/22 Stan Shepherd <stan.shepherd414 at gmail.com>: wrote:

> And generally, the answers will point you back to the image, rather than
> documentation.

Something I'm finding quite frustrating, actually. It feels as if I
can only do something if I can find somebody else who has done the
same thing!

My next step will be to make it respond to a mouse click. I /suspect/
that's something to do with Morph>>on:send:to: but there's no useful
documentation in the message definitions and I can't work out what's
happening in any of the senders (not helped by the fact that browsing
senders of on:send:to: actually yields senders of all messages whose
first part ends in "on:", whatever comes before or after, so the first
result I get is for AlignmentMorph>>addUpDownArrowsFor, because it
sends a message "position:" to an object).

Surely there comes a point when one needs actual documentation of this
stuff, instead of tring to work everything out by reverse engineering
the source?

-- 
Tim Rowe


More information about the Beginners mailing list