[squeak-dev] Re: Trying to undeerstand Morphic subclasses and step/stepAt:

Bob Arning arning315 at comcast.net
Sun Feb 5 15:11:54 UTC 2012


One thing to consider is whether you really want to subclass 
SystemWindow or if it might be better to instantiate a vanilla 
SystemWindow and install your specialized morph inside it.

Cheers,
Bob

On 2/5/12 9:57 AM, Dave Mason wrote:
> On 2012-Feb-5, at 7:40 , Bob Arning wrote:
>
>> Look at the methods #wantsSteps.
> Bingo!  I assumed it was something stupid I was missing.
>
> On 2012-Feb-4, at 14:23 , Sean P. DeNigris wrote:
>
>> I don't know if it's any better, but when I create my own morph-in-a-window,
>> I usually don't subclass SystemWindow, but add my morph to a window using
>> openInWindowLabelled: or addMorph:fullFrame:. I feel like I have a little
>> more flexibility if I later want to use it not-in-a-window.
> After defining wantsSteos, I see that color: seems to work a bit strangely too in SystemWindow, so I'm going to try this.
>
> Thanks, Bob and Sean.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120205/530c8826/attachment.htm


More information about the Squeak-dev mailing list