startSteppingSelector: Was: Re: Interactive Story (Newbie
scott.wallace at squeakland.org
Mon Jul 21 18:28:13 UTC 2003
Alternatively, to maintain a morph along an edge of its container, or
at a corner of its container, or centered within its container, you
can use "adhere to edge..." which you'll find in the "extras..."
branch of the morph halo menu.
At 11:06 AM -0700 7/21/03, Jack Johnson wrote:
>Laurence Rozier wrote:
>>If you define a method:
>>keepCentered self center: owner center
>>for Morph, you can then use the following code to keep
>>it centered within it's owner morph
>>e_EllipseMorph new openInWorld.
>>e startSteppingSelector: #keepCentered
>Hey, now I know how to keep the trashcan in the corner! ;)
More information about the Squeak-dev