[Newbies] Where is the setter for self?
Chris Cunnington
smalltalktelevision at gmail.com
Sat Jun 2 13:32:57 UTC 2012
That's a good way to break it into more manageable pieces. Thanks!
Chris
>
> You may already understand the cascade of message sends, or it may be
> confounding your understanding. That is, if you are incrementally
> inspecting from "X := SUSlider new" up to each next semi-colon and
> seeing each Inspector pointing at a different object, since "new" is
> executed each time. Just to round out your understanding of self try
> "Do It" separately on each the following lines...
> x := SUSLider new new Control.Slider(null,null) inspect
> x handleId: 'handle'
> x trackId: track
> x value: position
> x range: (0 to: 100)
> x onChange: ( SUUpdater new id: 'position' )
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
More information about the Beginners
mailing list