[Newbies] Class Variables in #Object

Chris Cunningham cunningham.cb at gmail.com
Tue Mar 20 14:22:45 UTC 2018


On Mon, Mar 19, 2018 at 8:12 PM, John-Reed Maffeo <jrmaffeo at gmail.com>
wrote:

> In my current Image
> -----
> C:\Smalltalk\Squeak5.1-16549-64bit-201608180858-Windows\
> Squeak5.1-16549-64bit-201608180858-Windows\Squeak5.1-16549-64bit.4.image
> Squeak5.1
> latest update: #16551
> Current Change Set: Example
> Image format 68021 (64 bit)
>
> I am studying class #Object.
> The class comments identify two Class Variables:
> DependentsFields an IdentityDictionary
> EventsFields an IdentityDictionary
>
> but the class definition only defines  DependentsFields.
>
> What am I missing here?
>

Hi.  It looks like this comment is out of date for a while now.  There is
no EventsFields as you noted - the event handling mechanism migrated to the
EventManager class quite a while ago.  This comment should definitely be
fixed (and will be shortly).

If you wish to follow this further, the method Object>>actionMap is how the
appropriate EventManager instance is found.  Further, the related methods
are in the *System-Object Events-accessing method category (and
sub-categories).

Thanks,
cbc

>
>

> Thanks,
>
> jrm
>
>
>
>
>
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/beginners/attachments/20180320/a771f403/attachment.html>


More information about the Beginners mailing list