[Cuis-dev] Morph color
hernan.wilkinson at 10pines.com
Mon Nov 4 04:00:06 PST 2019
Welcome to Cuis :-)
I hope you have a good experience with it.
Please, do not hesitate to ask any questions you may have.
On Sun, Nov 3, 2019 at 3:00 PM Ala'a Mohammad via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:
> Hi Phil,
> On Sat, Nov 2, 2019 at 11:09 PM Phil B <pbpublist at gmail.com> wrote:
> > Hi Ala'a!
> > As you've discovered, Morph is really an abstract class. I'd suggest
> looking at RectangleLikeMorph as the most basic Morph you actually want to
> instantiate since it lets you set the color etc. Think of Morph as being
> to Morphic as Object is to Smalltalk: it's a foundation class you use it
> everywhere... just not directly.
> > Thanks,
> > Phil
> > On Sat, Nov 2, 2019 at 3:01 PM Ala'a Mohammad via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
> >> Hi,
> >> My name is Ala'a, and I live in UAE.
> >> I'm new to this mailing list and to Cuis Smalltalk. I'd been attracted
> >> to its simplification core value. I've been wading my way through the
> >> classes, their documentation, experimenting and re-learning Smalltalk
> >> again.
> >> I understood (correct me if i'm wrong) that Morphic framework is
> >> different from other Smalltalk dialects (i.e. Pharo and Squeak), and
> >> in the transition to version 3 which is better. Thus I began reading
> >> its related classes one of them was Morph and while experimenting I've
> >> found strange thing about its initial color. Every instance is Blue in
> >> color and I can not use color: selector to change it, the debugger
> >> shows up since Morph instance did not understand the message.
> >> upon Browsing the class there was no color: method and only a read
> >> color which was a constant ^Color blue.
> >> Is this intentional? and if so what is the motivation?
> >> Thanks again for this great software.
> >> regards,
> >> Ala'a
> >> --
> >> Cuis-dev mailing list
> >> Cuis-dev at lists.cuis.st
> >> https://lists.cuis.st/mailman/listinfo/cuis-dev
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cuis-dev